I have fresh install of VScode editor (v.1.14.2). Doesn't have any installed extensions. I have problem with javaScript highlighting in very simple file.   The same code in Sublime Text 3:    Default VScode theme (Dark+), doesn't have this bu...
Is there a way to filter the suggested snippets regarding the file path name?  This could be similar to pattern parameter for the Document Selector API.  For example, I would like to suggest only snippets for Model if the current file path matches th...
Trying to add hovers to add hovers to my VS Code extension. I was able to syntax highlighting and commands to work, but stuck on adding this hover feature.  I think my blocker is how to properly implement the HoverProvider API. I'm doing a simple...
I have an input box that asks the user to enter their username in my extension. I would like that when user click on esc or cancel the extensions stop running.  This is what I tried so far but no luck (it seems that onCancellationRequested is expecti...
User can achieve this by running 'Reload Window' available via editor's 'Command Palette'. That however from an extension authoring point of view is not as straight forward as prompting the user right away.  Desired outcome is to...
I am new to Typescript, JavaScript and VScode Extensions  I have a vscode-test setup as outlined here:  https://code.visualstudio.com/api/working-with-extensions/testing-extension#custom-setup-with-vscodetest  Modeled after the helloworld-test-sample...
I've created vscode extension based on typescript with the following config  the path for the test is   vscode_extensions/my-ext/src/test/runTest.ts:1  **The error is:**  import * as path from "path";        ^  SyntaxError: Unexpected tok...
I would like to implement in an extension something similar to a Go To Definition in a HTML template.  For example, ctrl-clicking on the path would open an editor with the file at this path:  {% include "relative/path/to/snippet.html" %}   Do...
I want to use npm packages(latextoMathML) but when i use it on my webview it gives me error on running the extension that is: undefined refrence caught: package name(latextoXML) not defined. i have tried through let / var / const with require method....
I'm trying to use memoize-one package https://www.npmjs.com/package/memoize-one  I've npm installed it and see it inside my node_modules but when I try to import it vscode is pointing to the correct folder and file but it's returning unde...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.