-
Notifications
You must be signed in to change notification settings - Fork 22
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
Empty outline when opening folder #151
Comments
FWIW: It works on my end. Note that I've noticed that certain symbols such as labels require them to be formatted with proper indentation rules. In other words if you indent labels they will not show up in the outline, they must be outdented flush to show in the outline, etc. |
I've tested it and can't reproduce it. |
Possibly an issue with missing navigation data? Do you have this with all projects or just with "The Question" I'll look into this when I have more time. |
This should be fixed as soon as the new syntax branch gets merged. We still need to do more testing on that branch before making it fully public though. |
Please check if this has been fixed as of v2.1.0-pre-release |
FYI: To make it easier to replicate the "never-ending initialization" simply navigate to any RenPy project's "renpy/common" folder, open that "common" folder in VSC, choose any RPY file. This will negate the use of personal files in the replication process. |
I think this is an issue in the extension seemingly requiring renpy navigation data. I think it may be a good idea to remove this dependency on an external sdk/application as not all git projects are the same, nor will they contain the renpy binaries or compilation info (nor should they, in my opinion) |
This navigation data should be in any project that has executed at least once. It's a file generated by the renpy launcher. Tho to be honest, I think I will remove it at some point since we won't need it as soon as we have the variable/data storage that will be generated using the tokenizer |
I don't use the renpy launcher for my projects as the projects I work on are mods or extension libraries of sorts, rather than fully-fledged games. So all the code is compiled when you actually drop it into an existing game. Glad to hear this won't be an issue with the tokenizer though |
Well now, and here I was wondering why my outline stays empty. Like the last poster, I don't run VSC from the SDK but rather open the game folders directly. |
@FaceCrap Currently, the extension uses the |
When opening a game folder and editing a script file from there, nothing shows up in the outline. If I open a single script.rpy then I see the outline. This is a bit confusing for me since I'm rather used to VScode extensions that won't do anything until you open a project folder.
Compare:
where the outline works but the file explorer doesn't show other files and
where the outline is empty but I can see all files in the file explorer.
This is on a fresh install of RenPy 8.0.0 with VSCode extension version 2.0.11. I may be missing something obvious, I installed RenPy for the first time yesterday. In particular I don't know whether this should be considered an actual bug or a documentation issue or a stupid newbie user issue.
The text was updated successfully, but these errors were encountered: