Comments (11)
Basically you don't need to edit settings.json manually.
Just follow the framework notes, i.e. generate the hxml with the command haxelib run lime display linux > completion.hxml
. Then Cmd+Shift+P on code and type init haxe
. Then things should work already.
It worked on my project.
from vshaxe.
Did you select a .hxml file for completion? https://github.com/vshaxe/vshaxe#framework-notes
Are you using Haxe 3.3.0-rc1 or higher?
from vshaxe.
I didn't select .hxml file for completion, actually my project has no .hxml file
Yes, I am using haxe 3.3.0-rc1
from vshaxe.
That's why I linked to the framework notes section, it describes how you can get Lime to generate one.
Alternatively, you can also use one of the .hxml files Lime generates on build, for instance Export/flash/haxe/debug.hxml
.
from vshaxe.
So, once I have .hxml file, completion, and goto definition will just work?
from vshaxe.
Once you add it to haxe.displayConfigurations
, yes: https://github.com/vshaxe/vshaxe#configuration
from vshaxe.
Thanks, I also found this useful link to edit the settings.json
that I didn't know about: https://code.visualstudio.com/docs/customization/userandworkspace
from vshaxe.
Have you managed to get completion to work? Can this be closed?
from vshaxe.
I have updated the settings.json that is at the user level, and I've took a debug.hxml
from Export/flash/haxe/debug.hxml
but I've noticed that the autocomplete will list every thing, not restricted to the class members it self.. I am not sure as I didn't have the time, I will check again..
from vshaxe.
Same for me.
from vshaxe.
Closing this, since it was probably just a configuration issue.
#18 should make setup with OpenFL a bit less painful in the future.
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
- `Type not found` when using HaxeFlixel HOT 3
- 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.