2.3.9 (2023-01-11)
- client: display warning messages (63dda21)
- declare: add command and constants (4a0bb59)
- declare: add text from selection (890ddd3)
- declare: experiment with re-parsing view regions (31725ac)
- declare: show warning messages (72de67c)
2.3.8 (2022-12-26)
- commands.extract: handle cancelled user input (d528730)
- commands.extract: multiple edits in "one session" don't break (5390b05)
- action.extract: init (bc0a3ad)
- commands.extract: open the newly created file in active view column (adf266d)
- commands.extract: validate user input (5bd6c5b)
2.3.7 (2022-12-26)
- commands.extract: let user choose name (ecf01e8)
- chore(server): fix connection when not testing
- Aurelia did not show up in output
2.3.6 (2022-12-25)
- commands.extract: don't user decorators .. (109b953)
- aot: add types to class member (41baccd)
- aureliaVersion: bindable package based on version (db252f3)
- aureliaVersion: parse and store to project (19e31eb)
- commands.extract: add types to viewModel bindables if present (b5d2449)
- commands.extract: create view, prepare view model (2b8a2d6)
- commands.extract: finish viewModel and replace with newly created tag (333ee7b)
- commands.extract: init input and files in server (f9827cf)
- commands.extract: support user generated templates (0ebf25a)
- common: add check for au version (0589298)
2.3.5 (2022-10-05)
2.3.4 (2022-04-10)
- documents: Start up crash on certain projects.
- check if file exists before (3b08349)
2.3.3 (2022-03-15)
- core: Update a file should now correctly update the extension internal logic.
- update uses correct paths to compare (fab68cd)
2.3.2 (2022-03-13)
Refactoring
- new /aot directory
- parsing
- AureliaProgram (analyses components etc.)
2.3.1 (2022-03-08)
- definition: normalize variable names before checking eq (638bef6)
- regions: repeat.for location parsing (0fe3eb4), closes #186
- rename: normalize variable names before checking eq (b7ed03e)
2.3.0 (2022-02-06)
We are trying out VSCode pre-release https://code.visualstudio.com/api/working-with-extensions/publishing-extension. In the hopes, that we can more freely push updates, and to monitor code changes, before an "official" release.
Example:
- 2.3.* for pre-release
- 2.4.* for release
- core: use correct file format for document finding (98cf4ca)
- definitions: add editing tracker (56d1d1b)
- rename: add editing tracker (1c4a65d)
If you noticed, that normal Typescript Renaming and Definitions behaved off. Yes that was our mistake. Explanation:
- To enrich your view model files with Aurelia specific features, we return (eg. View information) in the Defintions list as well
- But, when we return new information, the old Typescript Defintions are overwritten.
- So we used a library (TsMorph) to readd those missing Typescript Defintions.
- When doing so, the normal Typescript Defintions sometimes got outdated
- Because we only accounted for saved files and not files, that you are currently editing (eg. a dot instead of an x next the file name)
- --> Fix: Try to always use files, that have the correct "real time" content
- Detail: Introduce a
editingFilesTracker
array, that collects files while you are editing- Clears the tracker on save.
- Detail: Introduce a
2.1.4 (2021-12-29)
- Don't ignore node_modules
- (extension did not get picked up)
2.1.3 (2021-12-29)
- attempt to fix Extension not activating on Windows/Mac
2.1.2 (2021-12-25)
- core: determine Aurelia boolean not used (df5412f)
2.1.1 (2021-12-25)
- Switch to npm back from yarn (fix "module not found")
2.1.0 (2021-12-25)
Big new update. Visit the official repo https://github.com/aurelia/vscode-extension to find out more. For a feature list go to https://github.com/aurelia/vscode-extension/tree/develop/docs/user
-
Improved Completions
-
Added Javascript methods completions for Global objects (String, Number,...)
-
-
Improved Definitions
-
Added capability to go find all references of a component
-
-
Improved Monorepo support
-
Added Code Action
- Turn
<a href="">
into<import from="">
(convenience)- Why: In the absence of extension like Path intellisense one could leverage the completions capabilities of the a tag, then turn it into an
<import>
tag
- Why: In the absence of extension like Path intellisense one could leverage the completions capabilities of the a tag, then turn it into an
- Turn
-
Added Editor Symbols
-
Added Workspace Symbols
Please note, that due to the low iteration count, all features may not be as stable as we like them to be. Before submitting and issue, check out the Troubleshooting section If you still haven't found a solution to your problem, you are more than welcome to open an issue. The extension is in active use by the authors, so you can expect a swift response, but do note, that an actual fix cannot be guaranteed. Regardless, we are thankful, that you took the time to troubleshoot with us!
2.0.7 (2021-08-14)
- completions: add missing arg (ab9045a)
- embedded: add guard (d7c1e0c)
Attempts to fix output issue. (
.map of undefined
)
2.0.6 (2021-03-15)
- virtual: handle empty string correctly (1d23335)
- Background: Component can have empty viewPath, but we checked
someString.includes('')
, which is always true
- Background: Component can have empty viewPath, but we checked
2.0.5 (2021-03-12)
- Don't show warnings when the extension crashed Reason: Extension crashed, because it could not find a required tsconfig.json file. If you have trouble setting up the extension, please visit the Usage section. You can check the Output ("Aurelia-v2") for more information on what the extension expcets.
- setup: How to show that extension needs configuration? #152
2.0.4 (2021-03-10)
- completions: () for function Vars and methods (b9b5a6f)
- completions: resolve(false) for promise in
isInsideTag
(ed3ee84), closes #143 - completions: #142 $variables (5f3a131)
- completions: show if.bind and co. for CusEle (e30dc05)
- completions vc: upon | should complete with ValConvs (1f2b9f8)
- embedded: handle components with same file name correctly (fcc8c9d)
- completions: add delegate and trigger (fd40d94)
- settings: custom path to tsconfig.json (af0d065), closes #149
- settings: customize rootDirectory (b34d6b5)
- settings: update aurelia program on (vscode)config changes (8b2c741)
2.0.3 (2021-03-01)
- fix typescript dependency
2.0.2 (2021-03-01)
- fix main entry in package.json
2.0.1 (2021-03-01)
- fix package.json Marketplace related fields
2.0.0 (2021-03-01)
This is a complete rewrite. You are more than welcome to try it out. We would be happy about feedback! v1.0.7 is the previous stable version.
-
Have a tsconfig.json in the root
-
Rest should be automatic
- Debugging: In the VSCode Output Panel look for
Aurelia v2
, there you should see how many components where picked up
- Debugging: In the VSCode Output Panel look for
The main objective was to get completions for objects in your Aureila View/Template.
Eventually, all the work was continued in the rewrite, because new is always shiny.
-
Aurelia v2 compatible
- Tested against examples/realworld-advanced
-
Changes are now immediately available (no need to restart)
-
Completions
- Object completions in View
- Possible limitations:
- Imported types do not work
- Thus, types from standard (typescript) lib will not complete either.
- Arrays do not work (eg.
myVar[0].
will not show completions)
- Imported types do not work
- Possible limitations:
- Object completions in View
-
Definitions
- Now, Value Converter can be "go to definition"
- Limitation: Chained Value Converters only works for first one
- Now, Value Converter can be "go to definition"
-
Hover
mousedown.delegate
, and alike- Currently, you would need to type
mousedown
, and only after typing.
you would get completion fordelegate
- Currently, you would need to type
- Some diagnostics, eg.
- eg.
.one-way=""
is deprecated - casing
- eg.
- Aurelia Themes
- Au CLI commands
- .js support. (You would need a tsconfig.json file in the root, which would work then.)
Check out the Architecture document for a skeleton overview (expand for flowchart)
1.0.7 (2021-01-30)
- Related Files Related files now open in the Active Column again #139
1.0.6 (2020-03-29)
- autocomplete Now support windows and linux #116
- Parsing components setting
- Added a setting, which allows to fine-tune the paths to parse your Aurelia components.
- This will potentially allow the extension to correctly work on monorepos.
- If you still have trouble, please create an issue. Ideally, with an example setup of your monorepo. Thank you.
"aurelia.extensionSettings": {
"pathToAureliaProject": [
"src", // this is the default
"some/other/path/one",
"some/other/path/two",
"some/other/path/three",
]
},
- New articeles in the wiki
- Newly added bindables/variables/methods
- If you add new bindables or view model variables/methods, a restart of VSCode is required to have them appear in the autocompletes
- Parser error for components with "repeat.for"-binding
"Parser Error: Unconsumed token of at column 5 in expression [user of users]"
- Workaround
1.0.5 (2019-12-28)
- autocomplete: custom elements in view (#111) (25b123f)
- relatedFiles: Add more open related files support (#102) (1caecb9)
- smartAutocomplete: Go to Definition (#104) (f49cea9)
- smartAutocomplete: View data update on file change (#103) (26dcb05)
1.0.4 (2019-07-22)
- upgrade to new vs code webview api from vscode.previewHtml (e1558d9)
- language-server: do not fail when parsing methods and properties without modifiers defined (#84) (993f083)
1.0.3 (2018-02-28)
1.0.2 (2018-02-26)
- smart-autocomplete: don't fail on undefined location for attribute, resolves #74 (#75) (ac71258)
- syntax: string interpolation regex crashed when holding spacebar (#81) (e864c5e)
1.0.1 (2018-01-27)
- dependencies: move Typescript from devDependencies to Dependencies (f68830b)
- diagnostics: suggest lowercase variant, not the JavaScript name for items in attributeMap, resolves #72 (#73) (cfd831f)
1.0.0 (2018-01-23)
- auto-complete: suggest with as with.bind (ea625e1)
- codefix: use the Aurelia attribute map to validate case of attributes, resolves #54 (b143ce8)
- related-file: add editor column index when opening related file (#57) (70875d2), closes #51
- syntax: tokenize string interpolation end character correctly, fixes #48 (0921158)
- themes: add scope for let element (#63) (057cdfc)
- auto-complete: data binding auto complete configuration option, resolves #53 (#64) (06815bd)
- auto-complete: experimental auto complete from view model (behind feature toggle: smartAutocomplete) (7312b03)
- diagnostics: code action & diagnostic warning to convert 'one-way' to 'to-view' (#66) (2eb4ee1)
- syntax-highlight: Add the let command, resolves #55 (#60) (5bcdfce)
- vscode: update vscode engine version and packages to latest (8caa55b)
0.3.4 (2017-05-29)
- auto-complete: add submit event auto complete to form element (b03ecd2)
- auto-complete: don't auto-complete attibutes inside attribute value (093a36a)
- auto-complete: don't auto-complete bindings on wrong spots (e650d0d)
- auto-complete: ignore elements that are currently not registered, resolves #47 (d5e8002)
- auto-complete: use auto-complete from HTML language for closing tag (180773e)
- html-validation: don't do anything on empty documents, resolves #46 (40c2c23)
- dependencies: update vscode-language(client/server/server-types) and aurelia-cli (198dd1f)
- syntax: tokenize capture event binding (2662c01)
- vscode: update vscode version to 1.12.1 (559f3c2)
0.3.3 (2017-05-04)
- language: set custom language back to override html and disable custom hover, resolves #45 (4048c8d)
0.3.2 (2017-04-26)
- emmet-autocomplete: remove unneeded logging to aurelia output (1635b29)
- hover: don't try to show hover information on unknown items (c547f5f)
0.3.1 (2017-04-25)
- deps: update to aurelia-cli 0.28.0 (aaa61c4)
0.3.0 (2017-04-24)
- language-server: rebuild language server to enable better auto complete and prepare it for future improvements (87caa9b)
0.2.7 (2017-02-21)
0.2.6 (2017-02-15)
0.2.5 (2017-02-15)
0.2.4 (2017-02-08)
- highlight: containerless, compile-spy, and view-spy regex add foward lookahead for ' ' or '>', resolves #35 (8735a7a)
0.2.3 (2017-02-03)
- commands: change to current directory before executing new command (0c566e7)
- themes: update dark plus theme to color css scopes, resolves #34 (a10ac53)
0.2.2 (2017-02-02)
- readme: remove outdated screenshot (1267382)
- themes: scopes won't auto inherit anymore in 1.9.0, defined all au scopes seperatly (22d308a)
0.2.1 (2017-02-02)
- dependencies: updated vscode-languageclient, vscode-languageserver. vscode-languageserver-types (3794414)
- theme: adjust dark theme to new settings in vscode 1.9 (691610f)
- theme: adjust light theme to new settings in vscode 1.9 (f4cd0f4)
- vscode: SnippetString was removed and API changed to InsertTextFormat.Snippet (4ee1599)
0.2.0 (2016-12-19)
- vscode: adopt SnippetString for auto complete (new feature in vscode 1.8.0) (#28), resolves #25 (a438cb5)
0.1.12 (2016-12-15)
0.1.11 (2016-11-28)
- commands: show warning when you run a Aurelia-CLI command in a non Aurelia-CLI project (2eec465)
- commands: add au run --watch to command pallet (672c5bd)
- commands: add au run to command pallet (#24) (4d2efd8)
- commands: run commands in vscode terminal instead of seperate window (6468338)
- vscode: update minimal version to 1.7.1 to make use of new functionality (c5ef0e1)
0.1.10 (2016-11-07)
- syntax: don't tokenize attribute body something.ref with aurelia ref, resolves: #19 (43528bb)
- theme: update custom themes to match latest vscode 1.7.1 themes, resolves: #20 (e5741f7)
- codefix: codefix for diagnostics invalid casing (#21) (8d23232)
- diagnostics: adds invalid casing diagnostic (#16) (eee039c)
- syntax: tokenize/ syntax highlight matcher.bind (9f9f1c4)
0.1.9 (2016-10-25)
- autocomplete: added focus attribute data bindings, resolves #17 (51bb902)
- autocomplete: complete as-element without databindings, resolves #14 (accbf0c)
- autocomplete: config setting aurelia.autocomplete.quotes to specify single or double quotes on auto-complete, resolves #13 (#15) (e60b97d)
- syntax: tokenize compile-spy (b9fa63e)
- syntax: tokenize route-href (77b6828)
- syntax: tokenize view-spy (15f9fcd)
0.1.8 (2016-10-22)
- autocomplete: add auto complete to all elements of https://developer.mozilla.org/en-US/docs/Web/HTML/Element (bf785cd)
- autocomplete: only add form related events to the element (e152836)
- autocomplete: use https://developer.mozilla.org/en-US/docs/Web/Events events and don't add delegate to non-bubling events, resolves #12 (798ae66)
0.1.7 (2016-10-22)
0.1.6 (2016-10-13)
- syntax: correctly tokenize if, show, view-model, repeat.for, binding, controller, data bindings, resolves #6 (#8) (2f10ee2)
0.1.5 (2016-10-10)
- syntax: don't tokenize word ref inside body of attributes, resolves #5 (9849ce6)
- syntax: tokenize attribute body correctly if it contains model keyword (28dcf85)
- syntax: tokenize attribute body correctly/ don't apply invoke rule on it (1d51470)
- syntax: tokenize view attribute correctly (52e4447)
- test: replace-part test should check for not containing replace-part instead of replaceable (d67f5ad)
- syntax: tokenize as-element with as-element.attribute.html.au (61db04d)
- syntax: tokenize replace-part with replace-part.attribute.html.au (ffab125)
- syntax: tokenize replaceable attribute with replaceable.attribute.html.au (6c67b2d)
0.1.4 (2016-10-02)
- vscode: import statement file name of aureliaCLICommands is case sensitive on linux (15d3b52)