Customize syntax highlighting in visual studio for C#
I've been unable to find within visual studio 2013, how to change the syntax highlighting color scheme for C# files.
Namely, I'd want to change the color of variable names, and method names in method declaration lines.
Any ideas on where I can tweak these colors? I can select light/dark/blue color schemes but not specific syntax colors. In Options / Fonts and Colors there is nothing for C# (only a few options for C++).
Edit:
Ok, so I found where you can set the colors, it was in Options / Fonts and Colors after all. There is general settings (keyword, user types, etc), and C++ specific settings, but no C# specific settings. So you just need to set the general settings.
I still wasn't able to find how to color the method name in method declarations in a different color. When I want to change a method, having the method name declarations in different colors really help me (when using MonoDevelop), and I would really like to set it in visual studio.
public void MyMethod(int someVariable) {
MyMethod(someVariable+1);
}
I'd like to have different color for "MyMethod" word in the declaration line than the second line (where I recursively call it).
c# visual-studio-2013
add a comment |
I've been unable to find within visual studio 2013, how to change the syntax highlighting color scheme for C# files.
Namely, I'd want to change the color of variable names, and method names in method declaration lines.
Any ideas on where I can tweak these colors? I can select light/dark/blue color schemes but not specific syntax colors. In Options / Fonts and Colors there is nothing for C# (only a few options for C++).
Edit:
Ok, so I found where you can set the colors, it was in Options / Fonts and Colors after all. There is general settings (keyword, user types, etc), and C++ specific settings, but no C# specific settings. So you just need to set the general settings.
I still wasn't able to find how to color the method name in method declarations in a different color. When I want to change a method, having the method name declarations in different colors really help me (when using MonoDevelop), and I would really like to set it in visual studio.
public void MyMethod(int someVariable) {
MyMethod(someVariable+1);
}
I'd like to have different color for "MyMethod" word in the declaration line than the second line (where I recursively call it).
c# visual-studio-2013
You have the full version of Visual Studio 2013 correct. If you have anExpress
versions specify what you have. I promise you options for C# language syntax is there.
– Ramhound
Jun 17 '14 at 18:23
I have full version of Visual Studio 2013 Ultimate.
– tbkn23
Jun 17 '14 at 18:27
add a comment |
I've been unable to find within visual studio 2013, how to change the syntax highlighting color scheme for C# files.
Namely, I'd want to change the color of variable names, and method names in method declaration lines.
Any ideas on where I can tweak these colors? I can select light/dark/blue color schemes but not specific syntax colors. In Options / Fonts and Colors there is nothing for C# (only a few options for C++).
Edit:
Ok, so I found where you can set the colors, it was in Options / Fonts and Colors after all. There is general settings (keyword, user types, etc), and C++ specific settings, but no C# specific settings. So you just need to set the general settings.
I still wasn't able to find how to color the method name in method declarations in a different color. When I want to change a method, having the method name declarations in different colors really help me (when using MonoDevelop), and I would really like to set it in visual studio.
public void MyMethod(int someVariable) {
MyMethod(someVariable+1);
}
I'd like to have different color for "MyMethod" word in the declaration line than the second line (where I recursively call it).
c# visual-studio-2013
I've been unable to find within visual studio 2013, how to change the syntax highlighting color scheme for C# files.
Namely, I'd want to change the color of variable names, and method names in method declaration lines.
Any ideas on where I can tweak these colors? I can select light/dark/blue color schemes but not specific syntax colors. In Options / Fonts and Colors there is nothing for C# (only a few options for C++).
Edit:
Ok, so I found where you can set the colors, it was in Options / Fonts and Colors after all. There is general settings (keyword, user types, etc), and C++ specific settings, but no C# specific settings. So you just need to set the general settings.
I still wasn't able to find how to color the method name in method declarations in a different color. When I want to change a method, having the method name declarations in different colors really help me (when using MonoDevelop), and I would really like to set it in visual studio.
public void MyMethod(int someVariable) {
MyMethod(someVariable+1);
}
I'd like to have different color for "MyMethod" word in the declaration line than the second line (where I recursively call it).
c# visual-studio-2013
c# visual-studio-2013
edited Jun 17 '14 at 20:18
tbkn23
asked Jun 17 '14 at 18:06
tbkn23tbkn23
123249
123249
You have the full version of Visual Studio 2013 correct. If you have anExpress
versions specify what you have. I promise you options for C# language syntax is there.
– Ramhound
Jun 17 '14 at 18:23
I have full version of Visual Studio 2013 Ultimate.
– tbkn23
Jun 17 '14 at 18:27
add a comment |
You have the full version of Visual Studio 2013 correct. If you have anExpress
versions specify what you have. I promise you options for C# language syntax is there.
– Ramhound
Jun 17 '14 at 18:23
I have full version of Visual Studio 2013 Ultimate.
– tbkn23
Jun 17 '14 at 18:27
You have the full version of Visual Studio 2013 correct. If you have an
Express
versions specify what you have. I promise you options for C# language syntax is there.– Ramhound
Jun 17 '14 at 18:23
You have the full version of Visual Studio 2013 correct. If you have an
Express
versions specify what you have. I promise you options for C# language syntax is there.– Ramhound
Jun 17 '14 at 18:23
I have full version of Visual Studio 2013 Ultimate.
– tbkn23
Jun 17 '14 at 18:27
I have full version of Visual Studio 2013 Ultimate.
– tbkn23
Jun 17 '14 at 18:27
add a comment |
1 Answer
1
active
oldest
votes
try the extension Codinion (http://www.codinion.com or https://visualstudiogallery.msdn.microsoft.com/504311cf-bd01-4b12-bca3-a3e5d9505b76) which gives you full syntax highlighting for c#.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f770048%2fcustomize-syntax-highlighting-in-visual-studio-for-c%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
try the extension Codinion (http://www.codinion.com or https://visualstudiogallery.msdn.microsoft.com/504311cf-bd01-4b12-bca3-a3e5d9505b76) which gives you full syntax highlighting for c#.
add a comment |
try the extension Codinion (http://www.codinion.com or https://visualstudiogallery.msdn.microsoft.com/504311cf-bd01-4b12-bca3-a3e5d9505b76) which gives you full syntax highlighting for c#.
add a comment |
try the extension Codinion (http://www.codinion.com or https://visualstudiogallery.msdn.microsoft.com/504311cf-bd01-4b12-bca3-a3e5d9505b76) which gives you full syntax highlighting for c#.
try the extension Codinion (http://www.codinion.com or https://visualstudiogallery.msdn.microsoft.com/504311cf-bd01-4b12-bca3-a3e5d9505b76) which gives you full syntax highlighting for c#.
answered Jan 6 '16 at 21:15
TopperTopper
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f770048%2fcustomize-syntax-highlighting-in-visual-studio-for-c%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You have the full version of Visual Studio 2013 correct. If you have an
Express
versions specify what you have. I promise you options for C# language syntax is there.– Ramhound
Jun 17 '14 at 18:23
I have full version of Visual Studio 2013 Ultimate.
– tbkn23
Jun 17 '14 at 18:27