aurelia / vscode-extension

An extension for the VS Code editor that provides Intellisense capabilities to your Aurelia project.
MIT License
112 stars 25 forks source link

TypeScript Language Service extension #30

Open unional opened 7 years ago

unional commented 7 years ago

I'm submitting a feature request

A placeholder issue for utilizing the extension framework when it lands: https://github.com/Microsoft/TypeScript/issues/6508

It should simplify and improve this extension quite a bit.

eamodio commented 7 years ago

FYI it looks like this is now released: https://blogs.msdn.microsoft.com/typescript/2017/04/27/announcing-typescript-2-3/

eriklieben commented 6 years ago

syntax highlight / add features inside template tags in the following scenarios:

class El {
  static view = '<template></template>'
}

class El {
  static view = {
    template: `<template></template>`,
    dependencies: ....
  }
}

class El {
  static view() {
    return {
      template: `<template></template>`,
      ...
    }
}

related: https://github.com/aurelia/templating/pull/614

@inlineView('<template></template>')
bigopon commented 6 years ago

also nice if the expression inside listener can be highlight differently,

  <button click.trigger="onClick($event)"></button>

onClick($event) is currently treated as a string