New file - how to assign file type without storing?

  • jwka

    jwka - 2014-06-09

    I use notepad++ also for temporary work like cutting & pasting, changing and bringing the text back to where it came from.

    Or as as w work list that I delet in what I have worked on.

    Unfortunately, using "file - new" & paste text from another source does not support highlighting i.e. for PHP or c++ etc as it does not know what kinda type the new file shall be.

    How can I achieve highlighting without the need to save the temp file (that needs to be destroyed later ect.)?

    Is there anything like "assign type" or so available?

    Thanks guys!

  • Loreia2

    Loreia2 - 2014-06-09

    Hi jwka,

    go to Languages menu and select a desired language, like PHP or C++.


    • jwka

      jwka - 2014-06-09

      Tried that but no syntax highlightning unfortunately until I save ...
      Sorry, it works, but one need to have the openning mark for PHP...

      Thanks for the hint!

      Last edit: jwka 2014-06-09

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks