Update:
Active2 years, 11 months ago
Not sure what happened to my Visual Studio Code installation, but removing and re-installing the application (via homebrew) fixed the problem. Shift - Option - F once again formats code!
I'm struggling to format code in Visual Studio Code on MAC OSX El Capitan.
For some reason the default key binding ('Shift + Option + F') does not work. I also no longer have the option to format code via the 'Command + Shift + P', and entering '>format code'. In fact, '>format code' isn't even an option in the list anymore.
This used to work, but I am not sure what changed.
Visual Studio For Mac
'Shift + Option + F' does do something though, it makes a ' ̰' character appear that results in some weird cursor behaviour (not sure how else to describe it) when moving over characters adjacent to the ' ̰' character.
![]()
Additional information:
Developer Community for Visual Studio Product family. After version 7.6 All my Xamarin forms project won't reference.NET Portable Subset assemblies, breaking intellisene. Visual Studio for Mac enables the creation of.NET Core solutions, providing the back-end services to your client solutions. Code, debug, and test these cloud services simultaneously with your client solutions for increased productivity. Can I use Visual Studio 2013 to compile and run a C source code (not C++)? While using Visual Studio Code on Mac OS X, how can we compile TypeScript to produce JavaScript? What is the best compiler to compile C++ code and is recently used? I'm struggling to format code in Visual Studio Code on MAC OSX El Capitan. For some reason the default key binding ('Shift + Option + F') does not work. Visual Studio Code is an excellent developer tool for PowerShell projects.However, regardless of which type of project you’re developing (C#, Node.js, Python, etc.), you can benefit from changing your default shell to the powerful, object-oriented PowerShell shell.
De Ville Weppenaar
De Ville WeppenaarDe Ville Weppenaar
4 AnswersVisual Studio Code For Raspberry Pi
It's happening from time to time in my mac and if I just restart VScode it works again. Give it a try before reinstalling it the next time
UnseenUnseen
I had the same issue and realized that there was a fixed for that. VS Code repo has a closed issue for that and this may explain why your issue was fixed after reinstalling.
This is the link for the question on the VS Code repo:
Download Visual Studio Code For Linux
Marcos SilvaMarcos Silva
I am glad you were able to solve your own problem!
Often a simple reinstall can fix a lot of odd issues with various programs. Depending on what version you were on, updates can also fix bugs that might have caused the issue.
Tobiah ZarlezTobiah Zarlez
1,46511 gold badge77 silver badges1212 bronze badges
I had the same problem. January 2016 Visual Studio Code release had preliminary support for Salsa. In order to use that you had to install Typescript 1.8 and add typescript.tsdk setting like:
// Specifies the folder path containing the tsserver and lib*.d.ts files to use.'typescript.tsdk': './node_modules/typescript/lib'
February 2016 Visual Studio Code release does not need that anymore as Salsa is default anyway. Removing typescript.tsdk setting enabled code format functionality again for me.
Visual Studio Code Mac Os X 10.6.8
iaarnioiaarnio
Download Visual Studio Code For MacNot the answer you're looking for? Browse other questions tagged visual-studio-code or ask your own question.Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |