Comments (12)
I've experienced the same issue, but only under certain circumstances. The main driver seems to be the size of the script at hand and the random read speed of the drive the scripts are on.
from papyrus-lang.
Hmm I don't know about my random read speed, but this is a hefty script with a few includes. Is it just too large to use completion? Or is this a bug that is fixable. I understand every tool has its limits I just don't know what's feasible and what isn't.
from papyrus-lang.
It's difficult to know why it's particularly bad because there are limitations on what profiling code I can add. We can probably narrow it down to individual files, at least. I suppose it could involve how many different files you've looked at in a session. I'll look into it because it shouldn't be that terrible.
from papyrus-lang.
Ok let me know what if anything I can do to help
from papyrus-lang.
At the absolute minimum, we're going to need the full project you're developing. Please give us a link or upload it somewhere.
from papyrus-lang.
Here is the most recent project I've been working on that I had the issue. It's pretty big and so is UIExtensions, the import
https://github.com/slacksystem/where-are-you
from papyrus-lang.
Also happened with this fairly basic project. Inside one of the events I tried to add Debug.
and hit Ctrl-Space for completions and it took 20-ish seconds for them to come up.
from papyrus-lang.
I've observed this too. With a two line script, but any script has it happen.
from papyrus-lang.
@slacksystem are you running the CK out of MO2 by chance? I tried running it in MO2, its slow as heck. Ran it outside of MO2 and the autocomplete runs like a top.
from papyrus-lang.
@slacksystem are you running the CK out of MO2 by chance? I tried running it in MO2, its slow as heck. Ran it outside of MO2 and the autocomplete runs like a top.
I may have been I'm not sure, I haven't really modded skyrim in a while. This is reminding me I should probably check on my mods on nexus. Thank you very much for the suggestion though!
from papyrus-lang.
@joelday have you tried it using MO2 out of curiosity?
from papyrus-lang.
@skyler3d I haven't, but we're working on integrating a different compiler right now, which will greatly improve performance, so, the only area to attempt to address this will be replaced soon anyway.
from papyrus-lang.
Related Issues (20)
- Skyrim LE project has the wrong Import path defined
- Skyrim LE project cannot be built
- Pre & Post build events from Pyro not supported
- The skyrimSpecialEdition server crashed 5 times in the last 3 minutes HOT 3
- "EndProperty" isn't blue like "Property" is.
- Which Skyrim SE versions does the DarkId.Papyrus.DebugServer.Skyrim.dll support HOT 5
- Update to 3.0.1 changed ${SKYRIMSE_PATH} Scripts\Source to Source\Scripts HOT 7
- Wonky syntax highlighting when escaping delim-pair characters or inputting some contextually non-delim-pair characters in strings. HOT 3
- CTD when loading save after update HOT 4
- Default Imports would be a nice QoL HOT 1
- Which mod managers are supported? (suggestion to clarify)
- When breaking on a breakpoint decompiled source is shown when original source is available HOT 1
- Snippets/completions: Add parentheses to functions on commit-character (tab, return, whichever is in current settings) HOT 1
- OutOfMemoryException (using 32bit DarkId.Papyrus.Host.Skyrim) HOT 1
- Remove prefixes from variable names such as "ak, ai, ab"
- Add snippets to events such as "oninit, onendstate" which are members of all scripts HOT 1
- Fallout New Vegas HOT 1
- System.ArgumentNullException: Value cannot be null
- Add support for multiple game version instalations
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 papyrus-lang.