NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
WTF ~ File | New Templates


Joined: 03 Apr 2004
Posts: 78
Reply with quote
I have scoured the forum and the documentation looking for the solution to this problem:

In my c:\Program Files\nusphere\templates directory the following files DO exist:

New Style.css
HTML File.html
Include File.inc
Javascript File.js
Php File.php
Php5 File.php5
Perl File.pl
Python File.py
SQL File.sql
Text File.txt
Xml File.xml

However, the only files that show up in the "New File" chooser, are:

HTML File.html
Include File.inc
Javascript File.js
New Style.css
Perl File.pl
Php File.php
Php 5 File.php5
Python File.py
SQL File.sql

Where is:
Text File.txt
Xml File.xml

Or any other templates I add into the /templates directory ... Should they NOT automatically be included and added to this listing?

What is the deal?
View user's profileFind all posts by Rick ChristySend private messageYahoo Messenger
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
New File would show only registered file types, the files with extensions listed in Tools->Settings->File Associations.
If, for example you associate XML with HTML parser, you'll see it in the list too.
It makes sense because the IDE needs to regognize the file type and assign appropriate syntax highlighter for it.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 03 Apr 2004
Posts: 78
Reply with quote
ddmitrie wrote:
New File would show only registered file types, the files with extensions listed in Tools->Settings->File Associations.
If, for example you associate XML with HTML parser, you'll see it in the list too.
It makes sense because the IDE needs to regognize the file type and assign appropriate syntax highlighter for it.


Those filetypes are registered though:

View user's profileFind all posts by Rick ChristySend private messageYahoo Messenger
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
yeah, got it...
seems, that's a bug then.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 07 Mar 2006
Posts: 22
Reply with quote
Was this bug ever fixed? I am evaluating 4.5.0 and I am not able to create a txt file
View user's profileFind all posts by Joe BelmaatiSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Yes and no.
If you need a txt file, just add this extension to the list of extensions for say html files (they all are texts, right?), then create "Text file.txt" in phped\templates
and this file will be shown in File->New dialog.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
WTF ~ File | New Templates
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic