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

ANTLR templates do not appear in new project system #84

Closed
sharwell opened this issue Jul 14, 2017 · 5 comments
Closed

ANTLR templates do not appear in new project system #84

sharwell opened this issue Jul 14, 2017 · 5 comments

Comments

@sharwell
Copy link
Member

🔗 Originally reported by @jamesqo in #83 (comment).

@sebandraos
Copy link

Might this have to do with this old issue #61?

@sharwell
Copy link
Member Author

It actually turned out that the templates were mostly fine. In my first attempt to reproduce the problem, I wasn't able to because I was using the new project system to target net45. However, when I changed to netstandard1.3, the templates disappeared.

As I often do when examining template issues, I went and found one of the template files which still appeared in .NET Standard projects and opened its definition:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ItemTemplates\CSharp\Code\1033\Class\Class.vstemplate

Comparing this to the templates for ANTLR, it was immediately clear where the difference lied.

@kappa7194
Copy link

I downloaded the Tvl.VisualStudio.Tools.Antlr.vsix file from build 1.0.44 and installed it in Visual Studio Professional 2017 (15.2.0+26430.15) and the extension seems to be enabled, but I'm unable to find the templates even for non-Core projects, I don't even have the "ANTLR" category in the add file pop-up. Am I missing something?

Add New Item pop-up

@sharwell
Copy link
Member Author

@kappa7194 Try uninstalling the extension, restarting Visual Studio, and then installing it again from the VSIX.

@kappa7194
Copy link

Try uninstalling the extension, restarting Visual Studio, and then installing it again from the VSIX.

Found the problem, my fault: I downloaded and installed Tvl.VisualStudio.Tools.Antlr.vsix instead of Tvl.VisualStudio.Language.Antlr3.vsix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants