Feature Request: EditorBrowsable.Advanced
See original GitHub issueIssue Description
UnityEngine has a deprecated public class iPhoneSettings
, which always show before if
for me. It lives under UnityEngine
namespace so I can’t avoid importing it.
Since very few class names start with lowercase letters, I wonder if I could control the order of this specific example. Or just exclude classes with lowercase letters from suggestions.
(Also I would like to confirm this behaviour is by-design: this plugin will always list iClass
before if
when typing on a newline?)
Steps to Reproduce
Open any Unity project repo, create a new script, import UnityEngine
namespace, and type.
Expected Behavior
Prefer to list if
over iPhoneSettings
as it’s more likely to be used (given context).
Actual Behavior
iPhoneSettings
always listed before if
.
Logs
N/A
OmniSharp log
N/A
C# log
N/A
Environment information
VSCode version: 1.33.1 C# Extension: 1.18.0
Mono Information
OmniSharp using global mono :5.18.1Dotnet Information
.NET Core SDK (reflecting any global.json): Version: 2.2.105 Commit: 7cecb35b92Runtime Environment: OS Name: Mac OS X OS Version: 10.14 OS Platform: Darwin RID: osx.10.14-x64 Base Path: /usr/local/share/dotnet/sdk/2.2.105/
Host (useful for support): Version: 2.2.3 Commit: 6b8ad509b6
.NET Core SDKs installed: 2.1.4 [/usr/local/share/dotnet/sdk] 2.2.105 [/usr/local/share/dotnet/sdk]
.NET Core runtimes installed: Microsoft.AspNetCore.All 2.2.3 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.2.3 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 2.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 2.2.3 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs: https://aka.ms/dotnet-download
Visual Studio Code Extensions
Extension | Author | Version |
---|---|---|
applescript | idleberg | 0.14.2 |
csharp | ms-vscode | 1.18.0 |
mel | sator-imaging | 0.1.2 |
python | ms-python | 2019.3.6139 |
shader | slevesque | 1.1.4 |
shaderlabvscodefree | amlovey | 1.1.3 |
unity-debug | Unity | 2.7.2 |
vscode-jade-snippets | mrmlnc | 1.0.1 |
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:10 (2 by maintainers)
Top GitHub Comments
workaround:
"editor.snippetSuggestions": "top"
I am frustrated by this one as well. Especially IPhoneSettings often appearing when I want to type
if
orint
. Would it be possible to always prefer such basic language keywords over imported classes?