ionide-vscode-fsharp icon indicating copy to clipboard operation
ionide-vscode-fsharp copied to clipboard

Missing intellisense propositon when mixing `namespace` and `module`

Open MangelMaxime opened this issue 1 year ago • 1 comments

Hello,

Describe the bug

When having this pattern, we are missing some intellisense suggestions

File A

module Motivity.Thoth.Json.Tests.Types

type Foo = class end

File B

namespace Motivity.Thoth.Json.Tests

module Generated =
    type Bar = class end

File C

namespace Motivity.Thoth.Json.Tests

open Motivity.Thoth.Json.Tests.Types
                            // ^
                            // Here we only have Generated as a proposition

type Dummy = class end

Expected behaviour

Should show both Generated and Types in the intellisense suggestions.

Screenshots

https://github.com/user-attachments/assets/8586c161-a063-4643-a292-073d669f87b1

Machine info

  • OS: Windows
  • .NET SDK version: [e.g. 5.0.100]
  • Ionide version: 7.25.2

Additional context

Add any other context about the problem here.

MangelMaxime avatar Feb 19 '25 16:02 MangelMaxime

Image I don't know why I can have it.

LH-and-FPGA avatar Feb 19 '25 20:02 LH-and-FPGA