You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When developping in C++ it can happen that developers use the .h extension to define C++ headers. As a consequence, since the language is determined by the extension of the file, Discord always shows Programming in C while the actual programming language is C++.
It would be convenient to add an option to project Properties page allowing the developer to specify that the language used in this project is C++ even if the files have the .h extension.
The text was updated successfully, but these errors were encountered:
On second thought, I really don't want to implement something as specific as "provide X workaround for Y language". However, I can provide a way to customize the file extensions associated to each language, e.g. a table as follows:
Programming language
File extensions
Special files
Java
.java
C++
.cpp, .h
Docker
Dockerfile
I updated the name of the issue accordingly. Hopefully I'll find the time to implement it soon.
Originally ask by @XLPmc in #48.
When developping in C++ it can happen that developers use the .h extension to define C++ headers. As a consequence, since the language is determined by the extension of the file, Discord always shows Programming in C while the actual programming language is C++.
It would be convenient to add an option to project Properties page allowing the developer to specify that the language used in this project is C++ even if the files have the .h extension.
The text was updated successfully, but these errors were encountered: