Is it possible to format code in Visual Studio Team Services - azure-devops

Is there a means to format code snippets in any way, ideally a Markdown like syntax, in Visual Studio Team Services (formerly Visual Studio Online)?
Using italics just doesn't sit right with me.

You can copy/paste formatted code from a html view. For example Google docs with the "Code pretty" AddOn or an online tool like http://www.manoli.net/csharpformat/
This way you can also change font size, family and color if you need. It looks like

No, there is no way to achieve this feature. And there is already a feature request submitted for this on VSTS User Voice. You can vote it up here: Support markdown as an alternative to html for workitems.

Just found this extension from the feature request #eddie linked.
Markdown
Markdown is a custom work item form control, that allows you to edit the rich text fields on your work items with a Markdown enabled editor.

Related

How to I get Visual Studio Code to treat <webscript> the same way it treats <script>?

I’m working on HTML files which contain JavaScript inside <webscript> tags. Can I customize Visual Studio Code so that it treats these tags the same way it treats <script> tags, i.e. with syntax highlighting, etc.?
AFAIK, there is no direct way to customize this in Code. But you could write your own language configuration. A documentation with a sample file can be found at: https://code.visualstudio.com/api/language-extensions/language-configuration-guide
The most easiest way would searching for the default html language configuration copy this file and just edit the regex for script to support webscript, too. Should be this one on GitHub

Does an Office Open XML inspector tool exist?

Does anyone know if a tool exists that lets you inspect Office Open XML (e.g., a Microsoft Word .docx file) in the same manner that Chrome lets you view the fully rendered web page alongside the underlying element structure and interact with it in real-time?
I am working on a project where I need to be able to do some fairly fine-tuned, programmatic manipulation of docx files. Having such a tool would really help provide a better understanding of the Office Open XML spec and its behavior.
Kind regards.
I am a contributor on a new VS Code extension that can modify OOXML parts and get diffs of the xml when there are changes from outside e.g. Word edits a document in real time the way you describe. You can get it on the VS Code Marketplace:
OOXML Viewer
And review the code on GitHub:
OOXML Viewer Repo
I am not aware of a convenient tool like that. It should be relatively easy to make an Add-in that gets the relevant OOXML from the document selection, but I couldn't find anything on the Office Add-ins Store, or Script Lab samples/snippets. (The closest I could find, might be this Web Add-in sample app).
With the Open XML SDK Productivity Tool, you can also modify document and use the Compare Files feature to see the changes in the OOXML, and the code needed to reproduce them.
There are few more tools for Visual Studio and Chrome mentioned on Eric White's Blog:
Open XML Package Editor Power Tool for Visual Studio
OOXML Tools Extension for Chrome

Does the Visual Studio Team Services (VSTS) wiki support syntax highlighting?

Visual Studio Team Services has a Markdown-based project documentation feature in form of a wiki.
However I do not get the code formatting to work.
It looks like this:
but obviously it should look like this:
Is syntax highlighting not supported in Visual Studio Team Services or am I doing something wrong?
Make sure that you have a used the language identifier in Markdown Syntax as csharp does not seem to be recognized by default.
Check this document for Syntax guidance for Markdown files, widgets, wikis, and pull request comments.
Also, you may go through this blog.

How can i customize visual studio online bug template?

I want to customize bug template by add some field and change selection values, but I does find any documents about this, so is it supported? or how can I do this?
No, that is not currently supported... But...
Visual Studio Online Process Customization is on the Microsoft's roadmap. Check the article: http://blogs.msdn.com/b/visualstudioalm/archive/2015/05/05/visual-studio-online-process-customization.aspx

Visual Studio Code Plugins (Format / Spell Check)

Using the new Visual Studio Code editor vs 1. This is not the full Visual Studio IDE but their atom.io based code editor. I would like to install plugins specifically for spell check and formatting my code. How can I do this?
I've followed instructions here: Is there a command for formatting HTML in the Atom editor?
but realized that I do not have a install plugin command.
It's been a few months since the question was asked (and answered), but thankfully, things have changed!
VSCode now support extensions!
Here's a relevant excerpt from the above blog post:
Extension Marketplace/Gallery
To complement the extensibility mechanism, we have also launched an in product gallery and web based extension marketplace. These allow you to discover and install extensions. To open this up in VSCode, simply hit F1 and select Extensions: Install Extensions.
Alternatively, you can browse the Extension Marketplace at https://marketplace.visualstudio.com/#VSCode.
I gave the marketplace a quick search and easily found multiple extensions for spelling and source formatting, but I'll forego making any specific recommendations since everyone's requirements are different.
For anyone looking to write their own extensions for VSCode, take a look at the documentation for extending VSCode, as it has a lot of the information you'd need to start writing your own extensions.
Lastly, thanks to Daniel for his comment. It helped me find the information I needed, but to save future visitors some time, I thought it was worth sharing my findings.
Plugin support is not currently enabled in the VSCode editor. The development team were not happy with the plugin API, so they have disabled them until further work can be made on this.
For more information, see this post: https://stackoverflow.com/a/30006220/495328
Nowadays you can use Prettier and Code Spell Checker for the purposes.
Here are some use case for spell check:
Load a CSS, JavaScript, Text, etc. file. Words not in the dictionary files will have a squiggly underline below the text.
To see the list of suggestions just click on the 💡 (lightbulb) in the left hand margin. You have the option to add your own words to the workspace dictionary.