I downloaded the Java template for Visual Studio 2015, but it doesn't seem to have intelli-sense or format the code like it does with C, C++ and C#. It doesn't even mark error lines with red. It is basically just like notepad, but it compiles just fine.
Is there a way to enable that, or it is impossible?
Auto formatting settings in Visual Studio Show activity on this post. Select the text you want to automatically indent. Click menu Edit → Advanced → *Format Selection, or press Ctrl + K , Ctrl + F . Format Selection applies the smart indenting rules for the language in which you are programming to the selected text.
The code formatting is available in Visual Studio Code through the following shortcuts: On Windows Shift + Alt + F. On Mac Shift + Option + F. On Linux Ctrl + Shift + I.
In the default configuration for Visual Studio Code, the command can be run using the shortcut Alt+Shift+F. To format a range, in an already opened project, open the document that you want to modify, select the specific range to format, right-click, and select Format Selection.
You can change the options in "Tools" -> "Options" -> "Format All Files".
I cannot with authority say that it's impossible, but I've never heard of anyone using VS to do Java development.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With