Comments (9)
On Linux (Ubuntu 19.10), I fixed this problem by reloading the window:
Ctrl+Shift+P
:Reload Window
from language-cython-for-vscode.
Same issue, Windows 10 and VS Code 1.73.1
The problem is in cython.configuration.json
. I manually fixed it by replacing the old comments
section in the file:
"comments": {
// symbol used for single line comment. Remove this entry if your language does not support line comments
"lineComment": "#",
// symbols used for start and end a block comment. Remove this entry if your language does not support block comments
"blockComment": [ "\"\"\"", "\"\"\"" ]
},
from language-cython-for-vscode.
Hi, I can not reproduce your problem, the plugin works as expected(comment with '#'
).
Can you provide more details(eg: OS version, vscode version and plugin version, and/or screenshot)?
from language-cython-for-vscode.
Hi,
I'm using the last stable versions of VSCode (1.33.1) and Language-Cython (0.0.5).
The issue is when using the Edit>Toggle Line Comment or Toggle Block Comment (or shortcuts) with the Cython syntax activated it comment using // instead of #.
However the color syntax is correct, it detects # as comments and // as regular characters...
from language-cython-for-vscode.
I use the same version with you, but still can't reproduce. What's your OS version? Do you install other plugins about cython?
from language-cython-for-vscode.
Sorry, I'm under Windows 10 Pro, I don't have any other cython plugins :(
from language-cython-for-vscode.
@stowejt this worked for me.
Using Ubuntu 20.04, VS code 1.53 and Language-Cython 0.0.6, and having the same problem as @T4mmi
from language-cython-for-vscode.
Same issue as @kasliwalr in Windows 10 and V.S. code 1.72.1
from language-cython-for-vscode.
same issue with macOS
from language-cython-for-vscode.
Related Issues (9)
- Improve it (just small changes are needed) HOT 6
- Publish to Open-VSX HOT 1
- Highlighting in jupyter HOT 4
- Just want to say thanks! HOT 1
- Syntax highlighting broken on Ubuntu for .pyx files HOT 5
- Types highlighting support HOT 2
- does the plugin provide smart completion for standard c/c++ library?
- Add auto-indent and some keywords. HOT 5
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 language-cython-for-vscode.