Comments (4)
We do recommend people still with the crystal formatter though, so that all crystal programs have a consistent style.
from sublime-crystal.
How to delete this action and move it to a function key.
Is a crystal formatting convention, just constants, hashes and name tuples should be aligned.
from sublime-crystal.
You can also add "auto_format": false
to your syntax-specific settings for Crystal to disable the automatic formatting when you save a file, e.g.:
{
"auto_format": false,
"crystal_cmd": "crystal"
}
"Crystal: format" will still be available in the command palette, and you should be able to set up a keybinding for it manually.
As for the spacing being an option in the formatter, that's almost definitely not going to happen. The Crystal formatter is opinionated, but consistent, and options for stylistic choices are not being added.
from sublime-crystal.
Thank both for solution and link.
from sublime-crystal.
Related Issues (20)
- Support for flat rescue/ensure/else block in do/end block HOT 3
- Update package control HOT 1
- `:!` and `:!=` are considered operators rather than Symbols
- `__END_LINE__` is not scoped as a a magic constant.
- Auto format doesn't respect sublime indentation settings HOT 3
- Octal literals have no scope applied to them HOT 1
- Avoid always applying `primary.control` scope to `type` HOT 1
- cmd popup on Sublime Text WIndows 10 + WSL HOT 18
- Strange jQuery error in my logs when switching to Crystal language
- Support for ECR HOT 2
- code randomly gets cut off on save
- Add "verbatim" highlighting HOT 1
- Free variable formatting
- Add `entity.name` scopes to property definitions
- `annotation` highlight
- Proper `self?` highlighting
- Crystal 0.27.1 does not work HOT 3
- Change formatter output format from JSON to plain text
- HEREDOCs with HTML tags in them breaks syntax highlighting
- Syntax highlighting does not work correctly for generic types in function parameters
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 sublime-crystal.