crystal-lang-tools / sublime-crystal

Crystal syntax highlighting for Sublime Text
Other
86 stars 18 forks source link

Change formatter output format from JSON to plain text #64

Closed vladfaust closed 5 years ago

vladfaust commented 5 years ago

--format option has been removed in https://github.com/crystal-lang/crystal/pull/7257, and crystal tool format is now able to output raw text only. It still can be fetched with Regex. Sadly, but column numbers are gone :cry:

Error: Syntax error in ./src/ext/pg/converters/uuid.cr:5: expecting token 'CONST', not 'ds'

      def read(t : ds.class)