Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support @deprecated in Visual Studio (2019/2022) #48567

Closed
5 tasks done
HolgerJeromin opened this issue Apr 5, 2022 · 4 comments
Closed
5 tasks done

Support @deprecated in Visual Studio (2019/2022) #48567

HolgerJeromin opened this issue Apr 5, 2022 · 4 comments
Labels
Awaiting More Feedback This means we'd like to hear from more people who would be helped by this feature Suggestion An idea for TypeScript Visual Studio Integration with Visual Studio

Comments

@HolgerJeromin
Copy link
Contributor

Suggestion

Visual Studio Code has support for @deprecated since #390

This feature should be available with Visual Studio (Not VS code), too.

VS2019+2022:
image

vscode:
image

✅ Viability Checklist

My suggestion meets these guidelines:

  • This wouldn't be a breaking change in existing TypeScript/JavaScript code
  • This wouldn't change the runtime behavior of existing JavaScript code
  • This could be implemented without emitting different JS based on the types of the expressions
  • This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
  • This feature would agree with the rest of TypeScript's Design Goals.
@RyanCavanaugh RyanCavanaugh added Suggestion An idea for TypeScript Visual Studio Integration with Visual Studio Awaiting More Feedback This means we'd like to hear from more people who would be helped by this feature labels Apr 11, 2022
@mdevdatta
Copy link

(Found this when I was helping a fellow developer who was wondering why Visual Studio doesn't tell them that a function they are calling is @depracated)

We (company of ~2300+ developers) follow internal coding guidelines to include helpful message with @deprecated tag to help the consumer to explain what they should do instead.

Visual Studio doesn't show any of this including that function is @deprecated - that makes us very very sad.

@icepower03
Copy link

same need.
very good idea

@HolgerJeromin
Copy link
Contributor Author

ref #50285 for another feature parity issue.

@HolgerJeromin
Copy link
Contributor Author

I have no idea when this was fixed, but my current VS 17.5.2 shows something 🎉

image

Still nothing in VS2019, so I suspect this is a change in VS2022 and not TS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting More Feedback This means we'd like to hear from more people who would be helped by this feature Suggestion An idea for TypeScript Visual Studio Integration with Visual Studio
Projects
None yet
Development

No branches or pull requests

4 participants