I'm attempting to create custom syntax styling with Visual Studio Code's theme settings via TextMate language grammars.  Specifically, I'm wanting to italicize all of JavaScript's reserved keywords. I've managed to get 98% of the...
I am working on a typescript project with Visual Studio Code including multiple npm packages structured like this:   Source code: /src/index.ts Compiled code: /dist/...   When I right click on imported objects and choose "Go to Definition" or...
Is there a way to pick a color for function arguments and then keep that color in the body of the function? For example:    I want Hello to remain ~orange on the function's body and have variables not to be white so I can differentiate between ar...
I have updated to Visual Studio Code version 1.23.0 recently and I am starting to see this code hint:  [js] This constructor function may be converted to a class declaration. var _myFunctionName: () => void   How can I turn this hint off? I have n...
Problem  In Visual Studio Code, within a Handlebars file, when editing JavaScript code inside a <script>, JavaScript snippets are unavailable.  Goal  Use JavaScript snippets in this situation.  Example  Say I am in a handlebars file, which has...
I'm using vscode on linux and backed up ~/.config/Code/User/settings.json. I copied that file to a new system and installed vscode there, but none of the extensions, etc that I had configured were installed because settings.json doesn't conta...
Is there a VS Code extension setting that, when using formatOnSave, will force object-literal curly-brackets for the first object in an array to start on the next line?  Trying to achieve this:  const arrOfObjs = [   {     name: 'Obj1'   },...
When working with VS Code and Typescript or JavaScript, VS Code suggests auto imports. But when inserting the import automatically, it will add a semicolon at the end of the line. I do not want this semicolon. In addition, it is configured in my tsli...
var obj = {   name: "xyz",   routes: {     "": "showView1",     "view2": "showView2",     "view3": "showView3"   } }   If I save this code in a .js file in vscode automatically my json object pr...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.