dotnet / dotnet/roslyn

`#defined` symbols do not get recommended if not defined in compilation options

Open
#78,447 0 comments 0 reactions 0 assignees View on GitHub
Area-IDE
Dominant language
C#
Stars
20.7k
Forks
4.3k
PR merge metrics
PR metrics pending

Description

Creating a separate issue to track this behavior without closing the original one (see attached below).

> Even #defined symbols do not appear right now.
>
> I would be ok with a PR fixing that.
>
>

_Originally posted by @CyrusNajmabadi in [#76469](https://github.com/dotnet/roslyn/issues/76469#issuecomment-2549221812)_

Contributor guide

Open the contributing guide

Research direction

Start by reading the discussion in the linked original issue #76469, especially the quoted comment, to understand the recommendation behavior and relevant Roslyn subsystem. No source file or test is named in this issue; done means that symbols declared with #define are recommended even when they are absent from compilation options.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.