Visual Studio code shortcut to find classes and methods? - visual-studio-code

Is there a shortcut in Visual studio Code (Or an extension for it)?.
I use to use PHPstorm, there was a function that you can find the classes directly, by clicking on it. When I use visual studio code you need to search all files.

shortcut: ctrl + p
This will behave just like the 'double-spacebar' of JetBrains products.

This should work with the PHP IntelliSense extension:
PHP 7 installation is required.
https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-intellisense

Related

search analyzer and formatter for Visual studio code

I would like to find a linter to analyze the formatting of my code, and also use the linter locally to format my code. And I would want to be able to do that with Visual studio code (and ideally, also Visual studio).
Right now, I am using Visual studio with resharper. But it's way too slow for me.
So I installed visual studio code, installed the extension omnisharp and roslynator, to be able to have the same formatting rules as resharper. So it works well, I configured my config file to display error when a rule is not respected, like that :
My issue is, I can't find a way to fix all these issue with a shortcut, like I use to do with Visual studio and resharper.
The shortcut shift+alt+F does not fix all my errors, and the command omnisharp "fixall" act weirdly, it remove my function Hi..
Do you have suggestion of setup with visual studio code to be able to format the code directly (not via a command line, but from a shortcut), and as advanced as resharper, and that could also work as a linter to analyze the code on the CI?

SuiteScript with Intellisense in VS Code

I have the latest Visual Studio Code.
I have installed the latest SuiteCloud Extension for VS Code.
There is no intellisense.
I have also installed the SuiteNippets extension -- which is ok--but not full intellisense.
I am baffled as to why this is missing. Do I need to import/reference something from NetSuite--despite using their extension already?
How do I enable intellisense in VS Code for SuiteScript?
See my previous answer to a similar question. It's possible to use the Head-in-the-Cloud bundle to create javascript transpiled from TypeScript files. The code completion is good and you have the added benefit of type checking.

How to run a Visual Studio Code extension?

I just installed the Visual Studio Code (v1.52.1) extension "Spelling Checker."
Now how do I use the thing?
I searched all the menus for a command to run this extension, or any extension. I asked Google "how to run a VSC extension" and only got matches that tell me how to install an extension. Apparently extensions are just supposed to run themselves.
There's a whole class of extensions for which that makes sense, such as extensions that add enhancements to editor windows. But there's another whole class of extensions, like this one, for which it makes no sense at all.
How do you run an extension?
This is confusing as the answer is spelled out in five-minute videos or is skirted around.
On your keyboard: Cmd+Shift+P (macOS) Ctrl+Shift+P (Windows, Linux, etc.) or under "View" and "Command Palette" opens the Command Palette so you can execute an extension's command such as "Browse Lite" for say https://github.com/antfu/vscode-browse-lite - hopefully, the developers say what the command is.
Note: Cmd+P (macOS) or Ctrl+P will search files by name. The shift is what's needed to launch the extension magic.
Open Visual studio code.
Go to extension option.
Then click on any extension.
After that disconnect your internet.
Then it will prompt for install extension manually.
Then it will ask to locate that .vsc file.
Select that and file and install it.

What is the problem with my Love2D Support extension for VS Code?

I am trying to run Lua directly from VS Code. I installed the Love2D Support extension for this. But the program does not run with Ctrl+L.
Here is where Love is installed on my computer:
These are my settings for the Love2D Support extension:
I don't understand why Love is not working from VS Code with Ctrl+L.
I'm not sure what's happening in VSCode, but you can drag the folder your main.lua file is in and drop it onto LÖVE2D to run it.
The command to run Lua directly from VS Code using the LOVE2D extension is alt + L and
Not ctrl + L which selects the full line.
If the problem proceeds, make sure that LOVE is installed in Program Files because this is where the LOVE2D extension is going to look for LOVE by default.
Alternatively, you can specify LOVE's file path in the LOVE2D extension's settings.

Is it possible to add auto-completion into external code editors for Unity

I just started using Unity with Visual Studio Code and got it up and running to use it instead of the default code editor but VSC doesnt display auto-completion and I am wondering if it is even possible to add this feature into Visual Studio Code and if yes, how to do so.