Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Resolved External editor for html files?

Discussion in 'Editor & General Support' started by JasonC_, Mar 28, 2022.

  1. JasonC_

    JasonC_

    Joined:
    Oct 27, 2019
    Posts:
    66
    If I add a txt file to my project, then double click it, it opens in VS. Not ideal but gets the job done.

    If I add an html file to my project, then double click it, nothing happens. Also I noticed that, while meta fies are created for it, it doesn't actually show up in the VS project, while the txt file does show up.

    Is there a way to make Unity open up a text editor for *all* Text Assets, not just txt files?

    2020.3.31f1, Windows 10
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,520
    Maybe... try Edit -> ProjectSettings -> Editor and adding
    html
    to the "Additional extensions to include."

    Might come up in your text editor, might just launch it in your browser... but either way you'll find out! :)
     
    JasonC_ likes this.
  3. JasonC_

    JasonC_

    Joined:
    Oct 27, 2019
    Posts:
    66
    Sweet! That worked! It opens in VS, but at least it opens now.

    Thanks!
     
    Kurt-Dekker likes this.