visual-studio-code

How to localise VSCode extension

梦想与她 提交于 2021-01-01 03:36:16
问题 I wrote a VS Code extension to support printing. Since all the recent issues have been concerned with issues relating to foreign character sets, it seems like I should support languages other than English. But I can't find anything in on localisation in the VS Code API documentation. There's a section on languages but that's about parsing and syntax colouring etc for computer languages. Is there any support or at least convention regarding localisation of VS Code extensions? Thanks to Gama11

Debugging VS Code with Typescript shows transpiled variable names instead of real names

孤街醉人 提交于 2020-12-31 15:24:06
问题 I'm struggling to find the right configuration such that VS Code will show me the real variable name for debugging. In the attached image, I should be able to see the conn (for example) variable but the debugger is showing the transpiled version exports.conn . //tsconfig.json { "compilerOptions": { "baseUrl": ".", "target":"es6", "module":"commonjs", "noImplicitAny": false, "removeComments": true, "preserveConstEnums": true, "sourceMap": true, "outDir": "dist", "moduleResolution": "node",

Debugging VS Code with Typescript shows transpiled variable names instead of real names

十年热恋 提交于 2020-12-31 15:22:03
问题 I'm struggling to find the right configuration such that VS Code will show me the real variable name for debugging. In the attached image, I should be able to see the conn (for example) variable but the debugger is showing the transpiled version exports.conn . //tsconfig.json { "compilerOptions": { "baseUrl": ".", "target":"es6", "module":"commonjs", "noImplicitAny": false, "removeComments": true, "preserveConstEnums": true, "sourceMap": true, "outDir": "dist", "moduleResolution": "node",

Visual Studio Code .NET framework not working when launched through unity

无人久伴 提交于 2020-12-31 14:54:27
问题 I am having trouble getting the .net framework to run inside vscode. I can get the .net framework running fine when I open vscode normally. However, when I open a .cs file in unity and use vscode as my default editor, I get error messages because the .net framework no longer works inside vscode. I need the framework for c# specific autocomplete and syntax errors. I have gotten comments on another post that has been closed saying I need to be more specific about this issue. This is not an

Visual Studio Code .NET framework not working when launched through unity

青春壹個敷衍的年華 提交于 2020-12-31 14:51:58
问题 I am having trouble getting the .net framework to run inside vscode. I can get the .net framework running fine when I open vscode normally. However, when I open a .cs file in unity and use vscode as my default editor, I get error messages because the .net framework no longer works inside vscode. I need the framework for c# specific autocomplete and syntax errors. I have gotten comments on another post that has been closed saying I need to be more specific about this issue. This is not an

Visual Studio Code .NET framework not working when launched through unity

时光怂恿深爱的人放手 提交于 2020-12-31 14:50:43
问题 I am having trouble getting the .net framework to run inside vscode. I can get the .net framework running fine when I open vscode normally. However, when I open a .cs file in unity and use vscode as my default editor, I get error messages because the .net framework no longer works inside vscode. I need the framework for c# specific autocomplete and syntax errors. I have gotten comments on another post that has been closed saying I need to be more specific about this issue. This is not an

problems with proxy in vscode

纵然是瞬间 提交于 2020-12-31 05:48:20
问题 I'm testing VSCode by first time and I configure my proxy in settings.json as recommended: "http.proxy": "http://domain\user:pass@myproxy:port/" But it doesn't work when I try to install new extensions I get a connected timeout error. I also try to configure the proxy as system environment variable with the same result. Could you help me? Is it a bug or I'm doing something wrong? Is there another way to download extensions? Thank you very much! 回答1: start vscode with below command code -

problems with proxy in vscode

僤鯓⒐⒋嵵緔 提交于 2020-12-31 05:46:44
问题 I'm testing VSCode by first time and I configure my proxy in settings.json as recommended: "http.proxy": "http://domain\user:pass@myproxy:port/" But it doesn't work when I try to install new extensions I get a connected timeout error. I also try to configure the proxy as system environment variable with the same result. Could you help me? Is it a bug or I'm doing something wrong? Is there another way to download extensions? Thank you very much! 回答1: start vscode with below command code -

problems with proxy in vscode

放肆的年华 提交于 2020-12-31 05:44:15
问题 I'm testing VSCode by first time and I configure my proxy in settings.json as recommended: "http.proxy": "http://domain\user:pass@myproxy:port/" But it doesn't work when I try to install new extensions I get a connected timeout error. I also try to configure the proxy as system environment variable with the same result. Could you help me? Is it a bug or I'm doing something wrong? Is there another way to download extensions? Thank you very much! 回答1: start vscode with below command code -

jsdoc and vscode: Documenting a function passed as an argument to another function

谁说胖子不能爱 提交于 2020-12-31 05:40:55
问题 I'm trying to document the input parameters to a function in javascript, but I can't work out how to do it in jsdoc. I've looked at the jsdoc documentation which suggests that using the @callback comment is what's required, but Visual Studio Code (vscode) doesn't highlight it as per the screenshot. The intellisense for the location parameter shows that it's type any rather than of type locator (a function with a parameter of id which returns a Location ). Example code which shows a function