Skip to content

Commit f2d31e3

Browse files
Merge pull request #13907 from anandmeg/uuf-367653
Updates for user feedback
2 parents 5d9757e + 8e800f7 commit f2d31e3

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

docs/ide/adding-visual-studio-editor-support-for-other-languages.md

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Add editor support for other languages
33
description: Learn about how the Visual Studio editor supports reading and navigating through different computer languages and how you can add support for other languages.
4-
ms.date: 11/04/2016
4+
ms.date: 5/02/2025
55
ms.topic: conceptual
66
helpviewer_keywords:
77
- syntax colorization
@@ -68,31 +68,26 @@ Visual Studio currently provides syntax colorization and basic statement complet
6868
In addition to syntax colorization and basic statement completion, Visual Studio also has a feature called [Navigate To](/archive/blogs/benwilli/visual-studio-tip-3-use-navigate-to). This feature enables you to quickly search code files, file paths, and code symbols. Visual Studio provides Navigate To support for the following languages.
6969

7070
- C#
71-
7271
- C++
73-
7472
- TypeScript
75-
7673
- JavaScript
77-
7874
- Visual Basic
79-
8075
- Go
81-
8276
- Java
83-
8477
- PHP
8578

86-
All of these file types have the features described earlier even if support for a given language hasn't yet been installed. Installing specialized support for some languages may provide additional language support, such as IntelliSense or other advanced language features like light bulbs.
79+
All of these file types have the features described earlier even if support for a given language isn't yet installed. Installing specialized support for some languages may provide additional language support, such as IntelliSense or other advanced language features like light bulbs.
8780

88-
## Add support for non-supported languages
81+
## Add support for nonsupported languages
8982

9083
Visual Studio provides language support in the editor by using [TextMate Grammars](https://manual.macromates.com/en/language_grammars). If your favorite programming language currently isn't supported in the Visual Studio editor, first, search the web—a TextMate bundle for the language may already exist. If you can't find one, though, you can add support for it yourself by creating a TextMate bundle model for language grammars and snippets.
9184

9285
Add any new TextMate Grammars for Visual Studio in the following folder:
9386

9487
*%userprofile%\\.vs\Extensions*
9588

89+
> In Windows, *%userprofile%* resolves to the path: *c:\Users\\\<user name>*. If the *Extensions* folder does not exist on your system, you need to create it. If the folder already exists, it is hidden.
90+
9691
Under this base path, add the following folders if they apply to your situation:
9792

9893
|Folder Name|Description|
@@ -106,12 +101,12 @@ In Windows, *%userprofile%* resolves to the path: *c:\Users\\\<user name>*. If t
106101
> [!TIP]
107102
> If you have any files open in the editor, you'll need to close and reopen them to see syntax highlighting after you add the TextMate Grammars.
108103
109-
For details about how to create TextMate Grammars, see [TextMate - Introduction to Language Grammars](https://developmentality.wordpress.com/2011/02/08/textmate-introduction-to-language-grammars/) and [Notes on how to create a Language Grammar and Custom Theme for a Textmate Bundle](https://benparizek.com/notebook/notes-on-how-to-create-a-language-grammar-and-custom-theme-for-a-textmate-bundle).
104+
For details about how to create TextMate Grammars, see [TextMate - Introduction to Language Grammars](https://developmentality.wordpress.com/2011/02/08/textmate-introduction-to-language-grammars/) and [Notes on how to create a Language Grammar and Custom Theme for a TextMate Bundle](https://benparizek.com/notebook/notes-on-how-to-create-a-language-grammar-and-custom-theme-for-a-textmate-bundle).
110105

111106
## Related content
112107

113108
- [Add a Language Server Protocol extension](../extensibility/adding-an-lsp-extension.md)
114-
- [Walkthrough: Create a code snippet](../ide/walkthrough-creating-a-code-snippet.md)
115-
- [Walkthrough: Display statement completion](../extensibility/walkthrough-displaying-statement-completion.md)
116-
- [Example code: TextMate Grammar](https://github.com/microsoft/VSSDK-Extensibility-Samples/tree/master/TextmateGrammar)
117-
- [Example code: Custom language support](https://github.com/microsoft/VSSDK-Extensibility-Samples/tree/master/Ook_Language_Integration)
109+
- [Create a code snippet](../ide/walkthrough-creating-a-code-snippet.md)
110+
- [Display statement completion](../extensibility/walkthrough-displaying-statement-completion.md)
111+
- [Ship TextMate grammars inside Visual Studio extensions](https://github.com/microsoft/VSSDK-Extensibility-Samples/tree/master/TextmateGrammar)
112+
- [Implement custom language support](https://github.com/microsoft/VSSDK-Extensibility-Samples/tree/master/Ook_Language_Integration)

0 commit comments

Comments
 (0)