Skip to content

Getting intellisense to work in Razor files #79

Answered by daveaglick
jerriep asked this question in Q&A
Discussion options

You must be logged in to vote

Yes! You're in luck, there's actually a pretty straight-forward way to let the Razor engine know that you're using a different base page class. Create a _ViewImports.cshtml file at the root of the "input" folder as described here: https://statiq.dev/web/content-and-data/templates/razor - let me know if you have any trouble.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@jerriep
Comment options

@StevenTCramer
Comment options

@StevenTCramer
Comment options

@daveaglick
Comment options

@icalvo
Comment options

Answer selected by jerriep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants