Skip to content

Latest commit

 

History

History
779 lines (434 loc) · 36.8 KB

CHANGELOG.md

File metadata and controls

779 lines (434 loc) · 36.8 KB

2.3.9 (2023-01-11)

Features

  • 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)

Bug Fixes

  • commands.extract: handle cancelled user input (d528730)
  • commands.extract: multiple edits in "one session" don't break (5390b05)

Features

  • 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)

Features

  • commands.extract: let user choose name (ecf01e8)

Bug Fixes

  • chore(server): fix connection when not testing
    • Aurelia did not show up in output

2.3.6 (2022-12-25)

Bug Fixes

  • commands.extract: don't user decorators .. (109b953)

Features

  • 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)

Bug Fixes

  • core: add "aurelia-bootstrapper" to v1 detection (d09dfc3), closes #199

2.3.4 (2022-04-10)

Bug Fixes

  • documents: Start up crash on certain projects.
    • check if file exists before (3b08349)

2.3.3 (2022-03-15)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Note on versioning

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

Bug Fixes

  • 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.

2.1.4 (2021-12-29)

Chore

  • Don't ignore node_modules
    • (extension did not get picked up)

2.1.3 (2021-12-29)

Bug Fixes

  • attempt to fix Extension not activating on Windows/Mac

2.1.2 (2021-12-25)

Bug Fixes

  • core: determine Aurelia boolean not used (df5412f)

2.1.1 (2021-12-25)

Fix

  • 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

Features

  • Improved Completions

    • Added Javascript methods completions for Global objects (String, Number,...)

      Completions example (expand)

      (Provide method completions for Javascript String) completions

  • Improved Definitions

    • Added capability to go find all references of a component

      Defintions example (expand)

      (Show all places where <custom-element> component is used) defintions

  • 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
  • Added Editor Symbols

  • Added Workspace Symbols

    Symbols example (expand)

    (Search for all Aurelia related information from your Views.) symbols

Unstable warning

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)

Bug Fixes

  • completions: add missing arg (ab9045a)
  • embedded: add guard (d7c1e0c) Attempts to fix output issue. (.map of undefined)

2.0.6 (2021-03-15)

Bug Fixes

  • virtual: handle empty string correctly (1d23335)
    • Background: Component can have empty viewPath, but we checked someString.includes(''), which is always true

2.0.5 (2021-03-12)

Bug Fixes

  • 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.

Feedback wanted

  • setup: How to show that extension needs configuration? #152

2.0.4 (2021-03-10)

Bug Fixes

  • 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)

Features

  • 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)

Chore

  • fix typescript dependency

2.0.2 (2021-03-01)

Chore

  • fix main entry in package.json

2.0.1 (2021-03-01)

Chore

  • fix package.json Marketplace related fields

2.0.0 (2021-03-01)

Table of contents

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.

1. Usage

  • 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

    image

2. Why rewrite?

The main objective was to get completions for objects in your Aureila View/Template.

Spoiler (expand)

img

Eventually, all the work was continued in the rewrite, because new is always shiny.

3. Anyway, here is what's new (and what's missing)

New

  • Aurelia v2 compatible

  • 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)
  • Definitions

    • Now, Value Converter can be "go to definition"
      • Limitation: Chained Value Converters only works for first one
  • Hover

    Hover.gif (expand)

    au-hover-5

Missing (from v1)

  • mousedown.delegate, and alike
    • Currently, you would need to type mousedown, and only after typing . you would get completion for delegate
  • Some diagnostics, eg.
    • eg. .one-way="" is deprecated
    • casing
  • Aurelia Themes
  • Au CLI commands
  • .js support. (You would need a tsconfig.json file in the root, which would work then.)

4. More Info

Check out the Architecture document for a skeleton overview (expand for flowchart)

1.0.7 (2021-01-30)

Fixes

  • Related Files Related files now open in the Active Column again #139

1.0.6 (2020-03-29)

Fixes

  • autocomplete Now support windows and linux #116

Additions

  • 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",
		]
	},

Wiki

Bugs

  • 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)

Features

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • syntax: implement fix from darthInvad0r for string interpolation, resolves #79 (#83) (9d7017f)

Features

  • syntax: upgrade html syntax to latest and support .au files (#82) (b1884f7)

1.0.2 (2018-02-26)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Features

  • 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)

Bug Fixes

  • 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)

Features

  • 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)

Bug Fixes

  • language: set custom language back to override html and disable custom hover, resolves #45 (4048c8d)

0.3.2 (2017-04-26)

Bug Fixes

  • 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)

Features

  • deps: update to aurelia-cli 0.28.0 (aaa61c4)

0.3.0 (2017-04-24)

Bug Fixes

  • syntax: correctly tokenize any elements with dash, resolves #41 (db6fc47)

Features

  • language-server: rebuild language server to enable better auto complete and prepare it for future improvements (87caa9b)

0.2.7 (2017-02-21)

Features

  • command: adds open related file command (#38) (7290e2e), closes #29

0.2.6 (2017-02-15)

Bug Fixes

  • auto-complete: replace text instead of inserting snippet only, resolves #37 (e81e515)

0.2.5 (2017-02-15)

Bug Fixes

  • themes: update to latest styles of vscode, resolves #34 (994c411)

0.2.4 (2017-02-08)

Bug Fixes

  • highlight: containerless, compile-spy, and view-spy regex add foward lookahead for ' ' or '>', resolves #35 (8735a7a)

0.2.3 (2017-02-03)

Bug Fixes

  • commands: change to current directory before executing new command (0c566e7)
  • themes: update dark plus theme to color css scopes, resolves #34 (a10ac53)

Features

  • themes: add solarized dark & light themes with Aurelia syntax, resolves #33 (0f1c7b2)

0.2.2 (2017-02-02)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Features

  • vscode: SnippetString was removed and API changed to InsertTextFormat.Snippet (4ee1599)

0.2.0 (2016-12-19)

Features

  • vscode: adopt SnippetString for auto complete (new feature in vscode 1.8.0) (#28), resolves #25 (a438cb5)

0.1.12 (2016-12-15)

Features

  • autocomplete: Add capture to syntax highlighting for events (#26) (1ea4e13)

0.1.11 (2016-11-28)

Bug Fixes

  • commands: show warning when you run a Aurelia-CLI command in a non Aurelia-CLI project (2eec465)

Features

  • 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)

Bug Fixes

  • 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)

Features

  • 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)

Bug Fixes

  • autocomplete: added focus attribute data bindings, resolves #17 (51bb902)
  • autocomplete: complete as-element without databindings, resolves #14 (accbf0c)

Features

  • 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)

Bug Fixes

0.1.7 (2016-10-22)

Bug Fixes

  • autocomplete: implement language server with default auto completes resolves #4 #7 (#11) (49656b5)

0.1.6 (2016-10-13)

Bug Fixes

  • syntax: correctly tokenize if, show, view-model, repeat.for, binding, controller, data bindings, resolves #6 (#8) (2f10ee2)

0.1.5 (2016-10-10)

Bug Fixes

  • 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)

Features

  • 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)

Bug Fixes

  • vscode: import statement file name of aureliaCLICommands is case sensitive on linux (15d3b52)

Features

  • commands: add new, generate, test, and build commands (a4fcea9)
  • syntax: grammer support for Aurelia attributes and elements (68de504)