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

[BUG] SQFvm does not start if opening individual files. #26

Open
MildlyInterested opened this issue Aug 11, 2023 · 3 comments
Open

[BUG] SQFvm does not start if opening individual files. #26

MildlyInterested opened this issue Aug 11, 2023 · 3 comments
Labels
bug Something isn't working enhancement New feature or request rewrite
Milestone

Comments

@MildlyInterested
Copy link

Opening sqf files directly (and not as part of a folder) will not start SQFvm.
Extension log reports rpc call 'initialize' failed with: 'Bad optional access'. after opening in a sqf file located in my downloads directory.

  1. Place test.sqf in downloads folder
  2. Open directly in VSCode.
  3. See extension logs.
    test.sqf.txt
@X39 X39 added bug Something isn't working rewrite labels Aug 11, 2023
@X39 X39 added this to the rewrite milestone Aug 11, 2023
@X39 X39 added the enhancement New feature or request label Aug 11, 2023
@X39
Copy link
Contributor

X39 commented Aug 11, 2023

Never actually considered that as a valid usecase so kinda both a bug and an enhancement (bug because it obviously should not crash)

@MildlyInterested
Copy link
Author

Main use case for me is checking liberation preset files to check other users' syntax errors. Quite niche I admit but would be nice, maybe skip caching completely for single files?

@X39
Copy link
Contributor

X39 commented Aug 11, 2023

Need to check what actually is happening there
possibly requires running sqlite3 in memory (and not sure if that even is possible with the sqlite_orm library i am using)

so cannot know what the final solution will be yet

@X39 X39 modified the milestones: rewrite, v1.1 Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request rewrite
Projects
None yet
Development

No branches or pull requests

2 participants