Comments (3)
Haxe languageserver requires a .hxml
file to know what classpaths, libraries and target to use when offering completion or other compiler services. lime projects use a project.xml
file (because they need additional build options).
in VSCode lime extension bridges the gap, for other editors you will need to provide a .hxml
file to make it work.
you might be able to point it to the .hxml
file generated when building a lime project (e.g. <output>/<target>/haxe/debug.hxml
). but that requires at least one lime build <target>
and of course locks you into that specific target (for completion and compiler services).
switching to a different target is a click on a status bar text in VSCode, but without lime extension you will have to modify your LSP settings (I don't know if sublime allows per project LSP settings, so you might have to change your global settings everytime you change targets).
from vshaxe.
Thanks for the info! I'll have to try out the debug.hxml
you mentioned.
Can you describe how the Lime extension bridges the gap? I was wondering if something similar could be developed for Sublime. Or better yet, extend the Hate language server to maybe call lime
to generate required configuration.
from vshaxe.
Can you describe how the Lime extension bridges the gap? I was wondering if something similar could be developed for Sublime.
see https://github.com/openfl/lime-vscode-extension
Or better yet, extend the Haxe language server to maybe call
lime
to generate required configuration.
I think that's a bit beyond the scope of Haxe languageserver.
from vshaxe.
Related Issues (20)
- Dymanic capability registration not enabled, helix-editor reports
- Display constructor signature when hovering over class name in new expression HOT 2
- [Windows] Hxml cannot detect task with subfolder path
- ai suprema HOT 1
- Two completion providers duplicate code actions HOT 3
- Null safety errors stay HOT 8
- Couldn't connect on 127.0.0.1:6000 with VSCode 1.82.0 HOT 25
- Using external builder - Can I use port 6000 for cache
- Building Cache.... Forever HOT 1
- Automatic build when debugging hashlink with hot reload
- Type not found : FileSystem HOT 3
- Auto-detect cache build failure after switching Haxe versions HOT 9
- Extra field generation
- Cannot generate all missing fields for interfaces or abstract classes HOT 1
- @:structInit hover does not have doc comments
- Compilation in progress feedback HOT 21
- @:structInit required fields generation
- Signature help points one parameter behind HOT 2
- Code action to convert local vars to class fields HOT 2
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 vshaxe.