I'm using Visual Studio Code on Ubuntu. I'm new to Linux/Ubuntu so please excuse me if I'm asking a stupid question.
My question is regarding the Tools menu on Visual Studio under Windows. I don't see a Tools option in VS Code and when I search online I see some references to files/tools but that does not seem to work.
I have tried the option to right click the file in both Explorer in VS Code and the system Explorer but the instructions say to select Open in Command Prompt (or Open in Terminal) but those options don't exist when I right click.
Can someone please advise me and give me a reference if it exists?
Maybe an alternative is to run Microsoft VS using Wine. I have not tried that yet as it seems a little like wishful thinking but I will if someone says it will work.
From the Main Menu, select Help, the 'Welcome' which has Customize Tools and Languages.
Related
Maybe I am just missing something, but I don't get how to setup a blank solution in VSCode (Under Windows or Visual Studio, you are able to just create a new Blank NanoFramework Template, but how can I do that in VSCode :/). I would really like to work with the nanoframework instead of c/c++, but I don't know how to create a blank solution :(.
That option is not currently available.
The main goal of the VS Code extension is to allow (partially) folks on MAC or Linux to work with .NET nanoFramework.
It's not possible to debug on VS Code and you'll only have a full experience on Visual Studio. If you're on Windows, the recommendation is to use Visual Studio.
Is it possible to run Visual Studio Code commands from Markdown? I noticed that, for example [cpptools](vscode:extension/ms-vscode.cpptools) shows the extension's page. I wondered if executing a command from the command palette would also work, and if it is something of an URI.
It proved difficult to track down the documentation but in fact this is possible, see: https://github.com/microsoft/vscode/issues/140733
Say your command is referenced as pkg.command, then this URL in Markdown can be clicked to execute it:
[Run It](command:pkg.command)
This works out of the box in modern VSCode.
Link processing using protocol vscode for example [cpptools](vscode:extension/ms-vscode.cpptools) is performed only by Visual Studio Code. For now, it handles links if they point to extensions, but does not support link to commands. But the Visual Studio Code development team can add this if they see fit for the developers.
But, in my opinion, this functionality is not necessary.
How can I open the command prompt in vs code? But as a window separate from vs code?
I tried shortcuts and other questions on StackOverflow but they all are on vs code and not opening it on a separate window.
You cannot do exactly what you are asking for. However, it sounds like you might be interested in installing Microsoft Terminal, available for free in the Microsoft Store. I use Microsoft Terminal Preview, it works extremely well.
When I start Visual Studio Code (Win10[64bit]), click on extensions overview, all my extensions disappeared. The overview is empty. I also can't load any new ones. But I think all the extensions seem to work.
In Addition there is a clock on the extensions symbol and it seems "loading", but nothing happens. Waiting a long time or restart didn't improve anything.
This is my first question, thanks for help.
As commented by the OP above:
Thanks for your ideas, I re-installed and everything is fine now.
The hint came from Maja Okholm:
perhaps try to repair the installation of visual studio code? Control panel > programs > programs and features, find visual studio code and click repair
I start using vscode less than a month. Please forgive me if this is a dump question.
OS: OS X 10.11.3
VSCode: 0.10.6
Plugin: VSCode-PHP-Format (download via git clone)
Extension path: ~/.vscode/extensions/VSCode-PHP-Format
I restarted VSCode, open php files, but do not see "Format Code" on the right click menu.
Any idea how to debug this? Right now I don't even know if the plugin load correctly.
With tips from Tobiah Zarlez, I found the "Toggle Developer Tools" in VSCode.
It is shown in the console the plugin cannot find js-beautify.
Solution
Inside ~/.vscode/extensions/VSCode-PHP-Format, run
npm install
It will pull in js-beautify. Then restart VSCode.
I am on my phone and not able to double check to see if it is there, but I'd recommend installing from the visual studio marketplace to insure the plug in is installed correctly. You can do so by hitting CTRL+SHIFT+P and typing "install extension"
Beyond that, a quick glance at the code the plug in should be activated when you open a php file... but since this is a third party plugin, I can't speak to if it actually works or not.
(Again, on phone so can't test)
What you could do is modify the extension.js file to add a "console.log ("hello world")" to the activate function. Them check the log to see if the plug in is installed correctly.
I saw you weren't the only person to complain about the plug in not working though. If I were you, I would continue to try and contact the creator