I suggest you ...

Make language specific ContentPlaceholders.

I want to be able to specify that a ContentPlaceholder should contain JavaScript or css, and get intellesense/syntax highlighting in the placeholder.

49 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    anonymousanonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    3 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • chris.brandsmachris.brandsma commented  ·   ·  Flag as inappropriate

        If you could put the directive in the ContentPlaceholder, then have that used to prepopulate the Content element with a "language" attribute. I would call that a solution.

      • hakenhaken commented  ·   ·  Flag as inappropriate

        I would rather prefer to be able to specifiy what type of IntelliSense I would like to use at any single place in code (ie. by beeing able to specify some Regex rule where CSS IS should be used, another rule(s) for JS, etc.

      Feedback and Knowledge Base