Skip to content

#Else not offered in #If'd out VB code (but is offered in C#) #286

@dpoeschl

Description

@dpoeschl

Ported from TFS WorkItem: 1089194


Repro Steps:

Affected Branch:
Affected Build:
Affected Product Language:

Steps to reproduce:

1. Copy/Paste VB:

 

Imports System
Imports System.Collections.Generic
Imports System.Linq

Module Program
Sub Main(args As String())
#If Foo Then

$$

#End If
End Sub
End Module

 

2. Remove the $$ if necessary and type #

 

Expected: Completion list offered with, for example, "Else" (see Dev12 for full list)

Actual: No completion offered


Revisions:

  1. Created By David Poeschl (12/1/2014 1:38:18 PM)

  1. Edited By Kevin Pilch-Bisson (12/2/2014 8:50:50 AM)

I think we'd have to special case a # being typed inside disabled text trivia, since the parse tree actually does treat all of this as disabled text.


Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-IDEBughelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on it

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions