Jump to content

Please split out Java and C# languages into their own section

 Share

These are both supported by nearly all lexers and should never be grouped with C, C++, or Objective C. They're completely different languages with completely different syntax rules. For example, "ref" and "out" are keyewords in C# but not in Java. "foreach" is a keyword in C# but not in C/C++, etc.

Link to comment
Share on other sites

Link to post
Share on other sites

As someone who was trained in Java programming, and who just last night was doing C# programming and trying to figure out what the heck "final" was in C# (apparently I wanted "readonly"), I second this change - the two languages look similar at first glance, but the keyword differences are important.

Link to comment
Share on other sites

Link to post
Share on other sites

I presume you're talking about syntax highlighting in the code editor, rather than splitting them out from programming into their own subforum?

 

The slightly strange combination of syntax highlighting that the forum software uses does not support splitting them out. The highlighting isn't 100% perfect, but a coupe of keywords that aren't highlighted doesn't harm readability too much.

HTTP/2 203

Link to comment
Share on other sites

Link to post
Share on other sites

If you're refering to syntax highliting it doesn't make that much on impact, nonetheless, you can just copy the code straight from the editor with it's own highlighting and put it in if it matters that much

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, AndreiArgeanu said:

If you're refering to syntax highliting it doesn't make that much on impact, nonetheless, you can just copy the code straight from the editor with it's own highlighting and put it in if it matters that much

Better to use code tags since some people use light mode and others dark mode so some colours can be hard to read on one or another theme

Synthesizer thread:

 

LTT Fan Fiction:

 

Link to comment
Share on other sites

Link to post
Share on other sites

4 hours ago, fpo said:

Better to use code tags since some people use light mode and others dark mode so some colours can be hard to read on one or another theme

When I paste code in from VS Code it comes with it's background as well be it light or dark so there shouldn't be problems regardless of using dark mode or light mode.

Link to comment
Share on other sites

Link to post
Share on other sites

8 minutes ago, AndreiArgeanu said:

When I paste code in from VS Code it comes with it's background as well be it light or dark so there shouldn't be problems regardless of using dark mode or light mode.

I hate everything about background color haha. 

 

You do you. 

Synthesizer thread:

 

LTT Fan Fiction:

 

Link to comment
Share on other sites

Link to post
Share on other sites

On 3/9/2023 at 4:53 PM, colonel_mortis said:

I presume you're talking about syntax highlighting in the code editor, rather than splitting them out from programming into their own subforum?

 

The slightly strange combination of syntax highlighting that the forum software uses does not support splitting them out. The highlighting isn't 100% perfect, but a coupe of keywords that aren't highlighted doesn't harm readability too much.

That's a pity because it looks like the ipscode plugin you guys use is using a derivative of google code prettify, which does support them 😞

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×