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.
Related
Pursuant to the discussion in Add XHTML support, I'd like to start creating an extension for Visual Studio Code which would implement support for XHTML. Which is HTML with XML syntax, so the the desired functionality is already (mostly?) implemented elsewhere – for XML and HTML languages, the latter having two extensions bundled with VS Code: html and html-language features. But it's disparate.
As the first step, should I clone the VS Code repo and delete everything except the two directories named html and html-language features? Or Language services for HTML? Or the latter and html from the former? Or start with html, make it work for XHTML and only then deal with language features?
Should the second step be just adding the extension(s) I'm developing on my computer to my installation of VS Code? The GUI seems to allow adding only extensions from the Visual Studio Marketplace. Is it the right solution to place the extensions under development into VS Code's directory for extensions (either directly or with symbolic links)? I'm on Manjaro Linux.
If you can offer any other helpful advice, I welcome it too.
Is there any Visual Studio code extension for code explanation.
The default extension gives basics information only. But I want more information regarding syntax.
It'll be great if an extension can pull information from some wiki page like wikipedia, w3schools.
[Default syntax information]
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.
I have tried Ctrl + F12 but it does not really work. It does not select $this-> for some reasons. Does anyone here know, how to do it?
Thanks in advance
Currently, Visual Studio Code's support for PHP is limited (see here), and I was unable to locate a PHP language service extension for Visual Studio Code (you're welcome to look, too).
Visual Studio Code currently only comes bundled with language services for JavaScript and TypeScript.
According to Visual Studio Code's documentation, a language service is defined as follows:
Language services provide the code understanding necessary for features like IntelliSense (suggestions) and smart code navigation (Go to Definition, Find All References, Rename Symbol).
You can try the regular search and replace CTRL+SHIFT+H. VS Code provides preview for all planned replacements so it is done not that bad as you would expect.
This question is a bit old but, for anyone who stumbled upon here,
You could use PHP Refactor Tool extension: https://marketplace.visualstudio.com/items?itemName=st-pham.php-refactor-tool
note that this extension dependent on PHP intelephense: https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client
We have a QA tool (SmartBear's TestComplete) that uses javascript as a scripting language, but names the file with a ".sj" extension instead of ".js". I would like to use Visual Studio Code to edit those files, with all the nice intellisense and other tooling that comes with it, but I can't figure out how to configure it to recognize .sj files as javascript files. Any ideas?
Answering my own question, just for future readers that may be searching for the same thing.
According to a tweet from #code, this is not yet possible, but is coming "soon".