This is what I'd like to achieve (t is selected in editor):  Before snippet:  var t = 'Foobar';   After snippet:  var t = 'Foobar'; console.log('t', t);   How can I do that? Here is what I tried to do:  "log_selection&...
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...
I'm working on Visual Studio Code extension and I need to detect when some document window is closed. I know about vscode.workspace.onDidCloseTextDocument event and it works at general.  But if I open a file from the workspace via API:  vscode.wo...
I have been developing a vscode extension that consits of client and server using the language server protocol.  At the moment, I am  trying to do the following thing: when the server detects a certain condition, he requests the client to load a cert...
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 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...
Is it possible to make a network call (using axios or other libs/options) using latest webView API for VSCode extension? I couldn't find any clear documentation on this, so any help would be highly appreciated....
I'm working on a VScode extension for my school open source project. I was wondering there was a way to detect text input to the activeTextEditor window?  For example if someone were to paste a string in, could I grab detect that string similar t...
I'm trying to write a simple extension for VS code that renames a selection to a given string. The app was bootstrapped with the extension generator: https://code.visualstudio.com/docs/extensions/example-hello-world#_generate-a-new-extension  For...
I'm developing a vscode extension for myself to improve the efficiency of my coding.  But the poor API of vscode left me at a loss. I expect to be able to capture the user's selection behavior and the selected values after executing the trigg...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.