Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/v3_support'
Browse files Browse the repository at this point in the history
  • Loading branch information
ArdenIvanov committed Aug 5, 2019
2 parents a54d730 + 5ceceb1 commit b99c544
Show file tree
Hide file tree
Showing 44 changed files with 1,683 additions and 1,884 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ All notable changes to the "svelte-intellisense" extension will be documented in

Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.

## [0.6.0]
- [Added] Partial support for Svelte v3 - syntax, data, methods, components, slots.

## [0.5.0]
- [Added] Support for aliases in rollup and webpack
- [Added] Hover and definition (go to source file) for different self and imported components metadata
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ Just click to component usage in markup or symbol in import section and view its

![Go to component definition](images/goto-definition.gif)

Also that works for component attributes, events, bind, slots:
Also that works for component attributes, events, bind, slots (Svelte 2 only for now):

![Go to component field](images/goto-field-definition.gif)
![Go to component slot](images/goto-slot-definition.gif)

Awesome navigation for methods calling:
Awesome navigation for methods calling (Svelte 2 only for now):

![Go to method](images/goto-method-definition.gif)

Expand All @@ -47,7 +47,7 @@ Allows to quick search for the required files to import, like a script file or a

![Script path completion](images/script-path-resolver.gif)

2. Path resolving for `components:` import statement
2. Path resolving for `components:` import statement (Svelte 2 only)

![Component path completion](images/script-component-path-resolver.gif)

Expand All @@ -65,7 +65,7 @@ Allows to quick search for the required files to import, like a script file or a

![Component data and slots](images/component-data-slots.gif)

5. Component events and expressions
5. Component events (Svelte 2 only for now) and expressions

![Component events and expressions](images/component-events-expr.gif)

Expand All @@ -75,21 +75,21 @@ This extension supports all svelte blocks - `if`, `each`, `await` - with inner b

![Template blocs](images/template-blocks.gif)

7. Data and computed properties for component state getter
7. Data and computed properties for component state getter (Svelte 2 only)

![Get properties of component](images/script-getter.gif)

The same is supported for writing a computed property.

![Computed properties](images/script-computed.gif)

8. Data properties for component state setter
8. Data properties for component state setter (Svelte 2 only)

![Set properties of component](images/script-setter.gif)

9. Svelte methods in script section
9. Svelte methods in script section (Svelte 2 only)

Also provides auto-completion for `this.refs.`
Also provides auto-completion for `this.refs.` (Svelte 2 only)

![Component methods auto completion](images/component-methods.gif)

Expand Down Expand Up @@ -155,7 +155,7 @@ export default {
```

## TODO
- Svelte 3 support
- More Svelte 3 support
- Signature help for component tags
- Workspace symbol search
- Find all references
Expand Down
6 changes: 3 additions & 3 deletions client/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "svelte-intellisense",
"engines": {
"vscode": "^1.28.2"
"vscode": "^1.30.0"
},
"repository": {
"url": "https://github.com/ArdenIvanov/svelte-intellisense.git"
Expand All @@ -12,9 +12,9 @@
"postinstall": "yarn vscode-install"
},
"devDependencies": {
"vscode": "^1.1.22"
"vscode": "^1.1.36"
},
"dependencies": {
"vscode-languageclient": "^5.1.1"
"vscode-languageclient": "^5.2.1"
}
}
Loading

0 comments on commit b99c544

Please sign in to comment.