Comments (9)
You mean the checksyntax command here, right?
I would need to check the difference between coffee -l
and coffeelint
and see which one would be better. Then compare it to the current method... Bit of a research to be done on my part. I'll get on with it when I'm on my own computer.
Certainly it would be something nice to add! I have to ask though, is there a particular reason why you are requesting this? I mean what are the pro's and cons to the current state and coffeelint
or coffee -l
?
I'm asking this to improve the quality of the solution based on your needs.
from sublime-better-coffeescript.
For ST2 alredy exists plugin https://github.com/SublimeLinter/SublimeLinter, this one works with coffee via coffee -l
.
As I know coffee -l
only check is syntax ok or not. Nothing else! With http://www.coffeelint.org/ you can lint your code with some "code conversation". For example class name MUST be in camel case.
Also there are https://github.com/dotCypress/CoffeeLint. But doesn't work for me.
Here will be awesome to highlight line where you have lint error, not only message.
I can't find lint tool that can check undefined or unused variables. Idea - use jshint.
from sublime-better-coffeescript.
Is it okay if it displays the output of linting in that output panel I made for run script
? The one you get with alt shift R
or was it ctrl shift R
from sublime-better-coffeescript.
It is ok. But of course it is better to highlight line with error.
from sublime-better-coffeescript.
Do you know how to highlight ? Or do you mean select the line that has error? Do you want it to be displayed like the command pallet?
from sublime-better-coffeescript.
Do you know how to highlight ?
Not yet. Best way - like in sublimelint plugin. Command pallet - good too.
from sublime-better-coffeescript.
I am creating this feature. Now works in this way: command - "CoffeeScript: Lint". Result:
from sublime-better-coffeescript.
sweet, I was going to get started on that too. Here paste this place holder on where coffeelint functions start in py. It helps locate things on the scrollbar.
# e88~-_ 88~\ 88~\ 888 ,e, d8
# d888 \ e88~-_ _888__ _888__ e88~~8e e88~~8e 888 " 888-~88e _d88__
# 8888 d888 i 888 888 d888 88b d888 88b 888 888 888 888 888
# 8888 8888 | 888 888 8888__888 8888__888 888 888 888 888 888
# Y888 / Y888 ' 888 888 Y888 , Y888 , 888 888 888 888 888
# "88_-~ "88_-~ 888 888 "88___/ "88___/ 888____ 888 888 888 "88_/
#
######################################################################################
from sublime-better-coffeescript.
3b506d9
Now you can lint current file via coffeelint
. Coffee: Lint
command.
from sublime-better-coffeescript.
Related Issues (20)
- comment on js file HOT 1
- How to pass in custom arguments to coffeescript binary
- Not working on Windows ? HOT 1
- Plugin Not Working HOT 1
- Cake task output
- Execute me, how to write a similar key binding for ES6 ${}
- Separate CSON from CoffeeScript
- Why is so slow the saving with SublimeText3 and Better-coffescript?
- This keeps popping when loading: rule scope:source.rust##anon_struct-tuple_0 has a scope name, but is unreachable HOT 1
- modules - import and export HOT 1
- Ability to use variable path for binDIR and envPATH HOT 2
- # -> #{} Code Snippet Not Limited to CoffeeScript Files
- Would it be possible to properly highlight regex literals?
- Please update for CS v2.0 HOT 3
- NEED NEW MAINTAINER - PLEASE POST HERE HOT 6
- [Feature request] Regular expressions highlights HOT 1
- if "class" appears in coffeescript code, e.g., class_name, subsequent lines are indented
- Nothing matching obj.method 'arg'
- Add support for Sublime Text 4 (build 4121) HOT 1
- Last character missing in auto-suggest in ST4 HOT 1
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-better-coffeescript.