Comments (12)
I'm using an extension named Better Comments which install counts are about a million user.
it makes comments colorful. For example if you type //! my comment
as a new comment line, it gets red.
Unfortunately CodeSnap shows all of those comments in default green color, not what is really shown on screen.
Better Comments link for vs-code : https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments
from codesnap.
Thanks for the report,
What theme are you using? is this the default c++ language definition?
I thought it was default theme, but when I select the default theme, the colors match your generated image even in my editor.
from codesnap.
I'm using the default dark theme on Windows 10. Yes, I didn't use any custom definition (I don't even know how to declare it yet). I also installed Polacode after this weird bug, seems to be affected as well. Did you try using my code?
After trying today, simple codes are now affected by this bug as well:
My settings.json
file doesn't even have any modification related to theme: https://pastebin.com/DKeKVzhr
I'm using MinGW C++ compiler with C/C++ extensions installed if that helps, I will try cleaning my extensions folder or even deleting the entire data folder to see if the bug still exist.
from codesnap.
Issue still persist even after resetting my VS Code data (I deleted the user-data
folder and extensions\adpyke.codesnap-1.0.15
folder manually).
My list of installed extensions:
from codesnap.
What's interesting is that when using the default vs code settings my token colors are slightly different. Even when using your cpp file. Variables are white not blue like yours, and look the same in CodeSnap. I'll investigate further when I have some free time
from codesnap.
Maybe you don't have any C++ compiler installed or don't have C/C++ extensions installed?
from codesnap.
What OS are you on? Looks like Windows 10 but just want to be sure
from codesnap.
I don't have the c++ compiler but I do have the extensions. I'll install the compiler when I'm at my pc later
from codesnap.
Yes, Windows 10 but LTSC edition. Doesn't make any difference to Windows 10 Pro/Home in this case.
from codesnap.
In case you don't want to install C++ compiler (because you don't need it anyway), you can just use Nuwen's MinGW distro.
Extract it somewhere like C:\MinGW
. Open Command Prompt, type set "PATH=%PATH%;C:\MinGW\bin"
(where gcc.exe
exist) and then type YourVSCodePath\Code.exe
to run VS Code.
MinGW will now be recognized by VS Code without the need of installing it. Just delete C:\MinGW
later. You may still need to configure the C/C++ extensions, though.
from codesnap.
I'm now successfully reproducing the issue.
The colors are being changed by C_Cpp.enhancedColorization
. Unfortunately I have not yet found a way to get colors set by extensions, only ones set by themes.
from codesnap.
I'm fine with it actually, no need to push yourself. I'll try to make a request (or search for the same issue) on Polacode repo and see if it can get fixed, or maybe on VS Code repo itself.
from codesnap.
Related Issues (20)
- Request this for IntelliJ and PyCharm IDE's
- wont snap lines with sprintf() function in c HOT 3
- Multi-cursor select does not work
- Screenshots linked remotely via SSH cannot be saved locally
- Name of the last screenshot appears by default while taking a new one
- Enable glow in screenshots
- [Feature] Collapsed lines of code should render the same in the snap HOT 2
- [Feature Request] copying to clipboard
- The Color of Brackets HOT 1
- q
- Shutter not clickable on certain block of code HOT 2
- a problem HOT 5
- [Feature request] sticky scroll - showing the scope of the selected code block
- Multiple characters move to the next line in the final output HOT 1
- CodeSnap stopped worked suddenly after I update the VS Code
- dom-to-image-even-more.js needs to escape % -> %25
- Not All Python Syntax is Support
- [BUG] Doesn't function properly when % is followed immediately by two or more numbers HOT 2
- Doesn't save file HOT 2
- Rendering issue on Mac
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codesnap.