Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocompletion does not work in the editor anymore #1877

Closed
4 tasks done
GDennis opened this issue Dec 23, 2024 · 3 comments · Fixed by #1893
Closed
4 tasks done

Autocompletion does not work in the editor anymore #1877

GDennis opened this issue Dec 23, 2024 · 3 comments · Fixed by #1893

Comments

@GDennis
Copy link

GDennis commented Dec 23, 2024

Since TS files are allowed, the auto completion does not work for js files anymore in my savegame.
The tooltip on {NS} also does not work as before anymore.
It does however work in a new game.

After some more testing: It works if I stay in the editor for a long time. The loading time is much longer now.

/** @param {NS} ns */
export async function main(ns) {
	ns. // auto completion is not triggered here
}
  • Steps to reproduce: Open the editor testA.js and try to get auto completion for any method of NS
  • v2.7.0, v2.7.1dev
@catloversg
Copy link
Contributor

I'll keep track of this problem in #1747.

@ScriptCitty
Copy link

@GDennis catloversg also didnt help me with my issue.

I loaded your save and found the same issue.
The issue is with the game loading.
Once I start loading your save, CPU load goes to 20% for the application, autocomplete does not work.
Once my RAM load peaks out around 1.1GB for your save, CPU load drops to around 2% and autocomplete starts working.

@catloversg
Copy link
Contributor

As I said, this problem is kept track in #1747. We are finding a solution for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants