Comments (8)
I hope you guys are not thinking I'm spamming issues 🙏 .
I really wanna give Crystal a chance and share my experience with it to others but for that to happen the tooling has to be on par with another language's so I figured I might as well report everything I stumble upon
from vscode-crystal-lang.
Crystal looks like everything I was looking for from a language so far so I'll do my best to improve mine and everyone's experience using it. I'm only able to write a few issues atm but if I still enjoy it in a few months' time I'll make sure to contribute to the ecosystem too.
Until then, I very much appreciate your efforts to improve it 🙌
from vscode-crystal-lang.
Thank you! I appreciate you taking the time to report issues you're having.
This is still an issue w/ the defaults so I'll leave this issue open for now - not everyone uses the extension with Crystalline (I don't personally).
from vscode-crystal-lang.
Yeah I've given a try to ameba.
I've opened a couple PRs there too 😅
Thanks for fixing this so quickly Margret 🙌
from vscode-crystal-lang.
I appreciate you reporting these bugs! It helps to know what problems people are running into.
Unfortunately with Crystal, the tooling isn't 100% there yet, and honestly I'm a little jealous of Ruby haha. It's one of the largest pain points of the language as it is and a reason a lot of people stop using it. I'm doing my best to help mitigate that but it's hard.
from vscode-crystal-lang.
It seems I no longer have the issue after installing Crystalline, as explained in #185 (comment) 👍
from vscode-crystal-lang.
@nobodywasishere I don't understand, you mean to say that the LSP is not required to run the extension ? 🤔
I thought this extension was made to enable the LSP on VSCode
from vscode-crystal-lang.
@nobodywasishere I don't understand, you mean to say that the LSP is not required to run the extension ? 🤔 I thought this extension was made to enable the LSP on VSCode
This extension is partially to be able to use an LSP with Crystal, but this extension also provides other functionality, including some duplicate functionality to that normally provided by the LSP (syntax highlighting, go to definition, type information).
This extension also provides stuff like the spec integration (so you can view/run specs directly from vscode instead of cli, disabled by default). Personally, while I think the LSP is good, I find it can be slow and memory intensive (and for larger projects I turn off a lot of the features provided by this extension as well due to compile times / memory usage). All the features mentioned in the README are those that are available both with and without an LSP, assuming your project is setup correctly.
I'd recommend also checking out ameba, which also has a vscode extension that can be useful (similar to Rubocop).
from vscode-crystal-lang.
Related Issues (20)
- New release? HOT 20
- Supporting mutiple main files (entry points) for a single project HOT 4
- Hover feature does not work with Windows11 PC and v0.8.4 of the extension (Native Windows Crystal, not WSL) HOT 1
- With compiler path set properly still get error upon opening first .cr file HOT 1
- Dot in comments triggers autocomplete. HOT 3
- Crystalline server crashes if VSCode started with shortcut HOT 6
- Tasks don't support arbitrary files
- Use `spawn` instead of `exec` for formatting
- V 0.9 won't catch some errors HOT 1
- Type on hover missing HOT 7
- Syntax highlight mismatch for methods and variables HOT 3
- Non-variables starting with underscore are colored like comments
- Method names that start with a macro interpolation will show gray syntax highlighting HOT 1
- ECR formatting
- Not working when working from a parent DIR HOT 3
- Classes imported from shards throw a "undefined constant" error HOT 5
- After code is corrected and saved, previous error/problem is still persistent HOT 7
- Hover fails on fresh crystal install HOT 3
- Refactor to have one onDidSaveTextDocument
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 vscode-crystal-lang.