Comments (4)
import d.ts file works for now.
Look at danielyxie/bitburner#1942 (comment)
and use NetscriptDefinitions.d.ts as index.d.ts
.
from bitburner-vscode.
It would be nice if the type definition was provided via npm.
It would be even better to provide the types with the plugin.
Maybe as a manual plugin command for now or with an autoupdate function?
I do not want to use npm in my Bitburner scripts, to keep it clean and tidy.
from bitburner-vscode.
@The-Hierophant thanks for that can confirm this works
@Root-Core the biggest issue is it needs to be resolvable in a way that will also work for the game itself
from bitburner-vscode.
@phyzical This shouldn't be a problem, as they are just types. If the IDE (vscode) can figure out the types you are all set.
They are not validated at runtime and are not transmitted to the game. There should not be any effect on the game.
The plugin could just spit out the file on demand and give you a reminder to update it, if there is a new version.
from bitburner-vscode.
Related Issues (19)
- Add an extension Icon
- File pushing of transitive dependencies doesn't properly cause rebuilds HOT 3
- Doesn't work with vscode workspaces containing multiple folders HOT 2
- notFound error occurs every time I attempt an action HOT 7
- The VSCode Extension Page References the archived repo
- Autocomplete NS HOT 5
- Push File does not work in WSL HOT 4
- File Push does not work on Linux Mint 20.3 HOT 1
- Feature Request: Show RAM usage of script and/or functions inside VS-Code
- 👴Old repository location references
- This Extension Is literally broken... Commands are not Registered Properly HOT 2
- Netscript 1.0 Autocomplete HOT 1
- "Push File To The Game" is not working anymore when using with BitBurner v2.2.2 HOT 3
- Connect to game server not on localhost? HOT 1
- A way to ignore some files/folder to push (node_modules for example) ? HOT 2
- Add Two-Way sync capabilities HOT 1
- Server enabled, but connection refused HOT 1
- Upload of txt files HOT 1
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 bitburner-vscode.