Comments (3)
At this point, Scalariform doesn't in general support formatting code with syntax errors, so I'm closing this WONT-FIX. (I'll comment on the Scala IDE ticket).
from scalariform.
OK. I'm fixing the problem on the IDE side. So it doesn't crash if the code is invalid.
from scalariform.
OK, cool. It's a good idea to catch the exception, but I suppose the root problem is that the wizards shouldn't generate malformed Scala ;-)
from scalariform.
Related Issues (20)
- Feature Request: Mixed single-line and multi-line case statements HOT 1
- Space after an equal sign in foreach statements is being removed HOT 1
- trailing comma support - "Expected identifier, but got Token(RPAREN,),xxx,)) HOT 3
- Multiline implicit param list bug HOT 7
- Stack Overflow with complex expressions HOT 5
- Cannot Undo after Formatting HOT 2
- Arguments of nested anonymous functions are crammed into a single line HOT 1
- Named arguments in a single line "aligned"
- Please publish for Scala 2.13.0-M5 HOT 2
- enable Travis-CI HOT 2
- format directive ignored
- AlignArguments when first argument is a literal number
- Trailing commas in class and function headers crash scalariform HOT 3
- NoWhitespaceBeforeLeftBracketChecker on multiple lines
- Is there an opposite of rewriteArrowSymbols? HOT 1
- Bring scalariform-maven-plugin under Scala IDE governance
- useUnicodeArrows=false rewriteArrowSymbols=true does not work
- Lexer can't handle underscore in string interpolation extractor HOT 1
- scalariform failed when has last `,` and `)` HOT 2
- Scalariform should not fail on '_' in numeric literals
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 scalariform.