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

Eveything I've found with the pre-release 5.0.3 (Keldra) #281

Closed
ddorab opened this issue Feb 16, 2023 · 5 comments
Closed

Eveything I've found with the pre-release 5.0.3 (Keldra) #281

ddorab opened this issue Feb 16, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@ddorab
Copy link

ddorab commented Feb 16, 2023

Basic informations

  • OS: [Windows]
  • VSCode version: Latest
  • Extension version: 5.0.3

Further Information

  • No suggestion (Seems to be solved - Edit 3)
    image

  • We talked about this in DMs and it actually did work when I restarted vscode that time but it doesn't seem to anymore (I haven't changed any settings/includes etc.)
    image

    1. Seems to have fixed itself for today :D (Edit 1)
      image
    2. Forgot to post this (Edit 2)
      image
    3. Seems to be solved (Edit 3)
  • Can't go to definition & nothing happens on hover (Edit 1) (Solved - Edit 3)
    image

  • Can't refactor (Edit 3)
    image

  • 🤔Doesn't suggest sPrice either (Edit 4)
    image
    image
    image
    Going to the definiton of sCaseNameCopy brings me to sIndex
    Nothing pops up on hover of sCaseName and sCaseNameCopy

  • sizeof just so you don't forget

To Reproduce

I have no idea :D

Error messages

Didn't notice any errors

I'll be updating the post continously when I come across new stuff

@ddorab ddorab added the bug Something isn't working label Feb 16, 2023
@ddorab
Copy link
Author

ddorab commented Mar 20, 2023

Everything seems to have gone away, sizeof, continue, break are still missing. They're not that important, simply good to have. Thanks for all the effort.

@ddorab
Copy link
Author

ddorab commented Mar 20, 2023

[Info  - 11:59:05 PM] Connection to server got closed. Server will restart.
Starting SourcePawn server
Received config [Object {"includesDirectories": Array [String("C:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\include")], "mainPath": String("c:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\komal\\scripting\\komal.sp"), "spcompPath": String("C:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\spcomp.exe")}]
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src\semantic_analyzer\resolvers.rs:123:18
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\lsp-server-0.6.0\src\stdio.rs:29:37
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[Info  - 11:59:07 PM] Connection to server got closed. Server will restart.
Starting SourcePawn server
Received config [Object {"includesDirectories": Array [String("C:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\include")], "mainPath": String("c:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\komal\\scripting\\komal.sp"), "spcompPath": String("C:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\spcomp.exe")}]
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src\semantic_analyzer\resolvers.rs:123:18
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\lsp-server-0.6.0\src\stdio.rs:29:37
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[Error - 11:59:08 PM] The SourcePawn Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.

also hello :D

@Sarrus1
Copy link
Owner

Sarrus1 commented Mar 20, 2023

Hey thanks again for your feedback :)
Do you think I missed any symbol? Sarrus1/sourcepawn-lsp@ad19619

@Sarrus1
Copy link
Owner

Sarrus1 commented Mar 20, 2023

[Info  - 11:59:05 PM] Connection to server got closed. Server will restart.
Starting SourcePawn server
Received config [Object {"includesDirectories": Array [String("C:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\include")], "mainPath": String("c:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\komal\\scripting\\komal.sp"), "spcompPath": String("C:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\spcomp.exe")}]
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src\semantic_analyzer\resolvers.rs:123:18
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\lsp-server-0.6.0\src\stdio.rs:29:37
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[Info  - 11:59:07 PM] Connection to server got closed. Server will restart.
Starting SourcePawn server
Received config [Object {"includesDirectories": Array [String("C:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\include")], "mainPath": String("c:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\komal\\scripting\\komal.sp"), "spcompPath": String("C:\\Users\\Dora\\Documents\\dev\\csgo\\sm-projects\\spcomp.exe")}]
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src\semantic_analyzer\resolvers.rs:123:18
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\lsp-server-0.6.0\src\stdio.rs:29:37
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[Error - 11:59:08 PM] The SourcePawn Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.

also hello :D

Can you please send me the file that caused this? Curious as to why this panicked... I've added a better fail safe in the latest build, which should fix the issue.

@Sarrus1
Copy link
Owner

Sarrus1 commented Mar 22, 2023

Assumed everything is fixed. Feel free to reopen if needed.

@Sarrus1 Sarrus1 closed this as completed Mar 22, 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
Projects
None yet
Development

No branches or pull requests

2 participants