I suggest you ...

Better context-aware javascript code snippets support

This suggestion is migrated to Developer Community. Please use below link to view the current status.
https://developercommunity.visualstudio.com/content/idea/351393/better-context-aware-javascript-code-snippets-supp.html
In the current code snippets infrastructure in Visual Studio are not context-aware, only Intellisense is context-aware.

For exapmle in the AngularJS app, when I write a "angular.module" then press "Tab" that should have a code completion feature for Angular module creation.

Also, when I type "angular.module('myApp').directive" then press "Tab" that should let us choose one of some useful code snippets for directive code template.

If Visual Studio can support this kind of code snippet feature. That will be very awesome! :)

96 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Will shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base