Comments (5)
Do you run formatting while Metals is still initialising? I'm not sure what I can do about that from here. I think this should be fixed either in atom-languageclient or in atom-ide-ui. It should just ignore formatting request until the server is initialised.
from atom-ide-scala.
This happened later on. i pressed the shortcut for formatting and you can see the error in the log but there is no indication on the UI
from atom-ide-scala.
Could you post the failure log? Why does it fail at all?
from atom-ide-scala.
The scala file is to complex and scalfmt files. That's unrelated to the plugin of course
Scalafmt210:58 Failed to format file file:///Users/cquiroz/Projects/ocs3/modules/edu.gemini.seqexec.model/src/main/scala/edu/gemini/seqexec/model/events.scala. Cause: Search state exploded around line 26.
00:14:42.773 INFO s.m.m.s.InMemorySymbolIndex - resolveName at Uri(file:///Users/cquiroz/Projects/ocs3/modules/edu.gemini.seqexec.model/src/main/scala/edu/gemini/seqexec/model/events.scala):20:47
00:14:42.892 INFO s.m.m.p.DocumentHighlightProvider$ - Document highlight in Uri(file:///Users/cquiroz/Projects/ocs3/modules/edu.gemini.seqexec.model/src/main/scala/edu/gemini/seqexec/model/events.scala
from atom-ide-scala.
I see. I think it's Metals fault then: it just swallows that error instead of returning a proper error LSP response. Could you open an issue in Metals?
from atom-ide-scala.
Related Issues (20)
- use accessSync
- add log level to the plugin settings HOT 1
- Watch pattern should be more precise HOT 1
- Add restart server command
- Use glob patterns for filtering watched files
- Use source maps
- Improve warnings HOT 2
- Error starting Metals server HOT 6
- Use readonly text buffers when jumping to dependency sources
- Add a command to launch sbt shell in the builtin terminal HOT 6
- Add a command to launch language server manually
- Uncaught Error: Connection is disposed. HOT 2
- Restore scalafmt on save HOT 4
- Didn't worked until I manually installed "language-scala" HOT 1
- Does this package still work? HOT 2
- Completions don't (always) delete their prefix HOT 4
- Failed to activate the ide-scala package HOT 2
- How to suppress diagnostics in build.sbt?
- Uncaught TypeError: d.getViewClass is not a function
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 atom-ide-scala.