You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When members are added or removed from a type. Intellisense doesn't update and underlines/not underlines when type members are referenced in another file.
To Reproduce
Steps to reproduce the behaviour:
Create new dot net core project, classlib, console, asp.net core, doesn't matter
Create new file Service.fs
Add new type
type Service() =
member this.A = "A"
Create new file Library.fs
Add new module
module T =
let s = Service()
let a = t.A
Observe that code is underlined with syntax errors
Build the project on the command line.
Observe that project builds correctly with no errors.
Restart VS Code. Observe that errors are no longer shown.
When type is declared in the same file as the module, extension behaves properly.
Sometimes the errors do resolve after a long time period.
Note, that if Ionide extension is disabled in VS Code, types resolve correctly and false errors no longer show up.
Expected behaviour
Syntax errors update in timely manner on code changes
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
OS: Windows 10
Ionide version: v4.14.0
VSCode version: 1.47.0
dotnet SDK version: 3.1.101
mono / .Net Framework version:
Additional context
F# Language server has strange output with paths not found on my system:
Exception in language server System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FSharpLanguageServer.Program.findMethodCallBeforeCursor(String lineContent, Int32 cursor) in /Users/george/Documents/fsharp-language-server/src/FSharpLanguageServer/Program.fs:line 2
at <StartupCode$FSharp-Core>.$[email protected](AsyncActivation`1 ctxt) in E:\A_work\130\s\src\fsharp\FSharp.Core\async.fs:line 1495
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in F:\workspace_work\1\s\src\fsharp\FSharp.Core\async.fs:line 109
Code: -32603
The text was updated successfully, but these errors were encountered:
Describe the bug
When members are added or removed from a type. Intellisense doesn't update and underlines/not underlines when type members are referenced in another file.
To Reproduce
Steps to reproduce the behaviour:
When type is declared in the same file as the module, extension behaves properly.
Sometimes the errors do resolve after a long time period.
Note, that if Ionide extension is disabled in VS Code, types resolve correctly and false errors no longer show up.
Expected behaviour
Syntax errors update in timely manner on code changes
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
F# Language server has strange output with paths not found on my system:
Exception in language server System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FSharpLanguageServer.Program.findMethodCallBeforeCursor(String lineContent, Int32 cursor) in /Users/george/Documents/fsharp-language-server/src/FSharpLanguageServer/Program.fs:line 2
at <StartupCode$FSharp-Core>.$[email protected](AsyncActivation`1 ctxt) in E:\A_work\130\s\src\fsharp\FSharp.Core\async.fs:line 1495
D:\Programowanie\ionide\paket-files\github.com\fsharp\FsAutoComplete\src\FsAutoComplete\FsAutoComplete.Lsp.fs:line 1077
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in F:\workspace_work\1\s\src\fsharp\FSharp.Core\async.fs:line 109
Code: -32603
The text was updated successfully, but these errors were encountered: