Follow Us:
If you use Microsoft's Visual Studio Code, changing the code format may not be all that obvious. Here is a quick "how-to" to help you save time...
For those who don't identify as a "developer," we need an IDE (Integrated Development Environment) tool to look at our HTML, CSS, JavaScript, PowerShell, etc. code. The decision is based on personal preference; some people use Notepad, Notepad++, PowerShell ISE (PowerShell only)...etc. depending on the level of comfort or familiarity with each.
If you live in the Microsoft world, like I do, you likely know about Visual Studio Code – a lightweight, but very powerful, IDE built from the ground up by Microsoft to leverage current code technology.
Visual Studio Code has support for various types of code that may be relevant to you, including a PowerShell console. One thing you will quickly run into is Visual Studio Code does not automatically format the code. The question remains, how do we do that?
Let’s say you are trying to review the sample JSON to format columns in SharePoint Online. You paste the code and it’s formatted as plain text.
In the bottom right, click on "plain text." You will see the formatting picker where you can choose your code type:
When you have your code open, click on "plain text" to properly format your code. You will get formatting, IntelliSense, and lots of other goodies.
I hope this helps save someone the confusion of searching through all of the top menus in vain. Please let us know how we can help you with your current technical struggles or business process pains!
The complementary paper includes over 12 years of research, recent survey results, and CRM turnaround success stories.
Request Download
This 60-second assessment is designed to evaluate your organization's collaboration readiness.
Learn how you rank compared to organizations typically in years 1 to 5 of implementation - and which areas to focus on to improve.
This is a sandbox solution which can be activated per site collection to allow you to easily collect feedback from users into a custom Feedback list.
Whether you are upgrading to SharePoint Online, 2010, 2013 or the latest 2016, this checklist contains everything you need to know for a successful transition.