Saving in cs
by Jorn Theunissen · in Technical Issues · 07/02/2008 (12:30 pm) · 8 replies
Hello,
just started with writing cs code and already (but not supprisingly) I have a problem. When i try to save the file as a .cs file, it says that it is a text file.
I'm making my codes with Microsoft Wordpad.
Example: I save is as: code1.cs, All files, ANSI.
however, de symbool says it's a text file instead of a C# source file.
Any suggetions or help to a new guy?
Thanks in advance!
just started with writing cs code and already (but not supprisingly) I have a problem. When i try to save the file as a .cs file, it says that it is a text file.
I'm making my codes with Microsoft Wordpad.
Example: I save is as: code1.cs, All files, ANSI.
however, de symbool says it's a text file instead of a C# source file.
Any suggetions or help to a new guy?
Thanks in advance!
About the author
#2
Of course if you have the $40 to spare, Torsion (www.garagegames.com/products/106/) kicks ass.
Edit: Fixed links.
07/02/2008 (12:49 pm)
Try CodeWeaver (www.torquedev.com/). Its free and pretty nice. Of course if you have the $40 to spare, Torsion (www.garagegames.com/products/106/) kicks ass.
Edit: Fixed links.
#3
I know everyone on the planet gives me a funny look when I say I prefer Notepad to using an IDE.
07/02/2008 (1:13 pm)
Never use Wordpad for any scripting language - it adds formating. If you don't want to use an IDE like Codeweaver or Torsion you can use Notepad, just remember that it isn't going to pick up your syntax errors or typos.I know everyone on the planet gives me a funny look when I say I prefer Notepad to using an IDE.
#4
If you're editing script files though, I'd take Chip's advice and look at Torsion. Well worth it for the debugging support.
07/02/2008 (1:36 pm)
Programmers Notepad is pretty useful in some cases and if you don't mind creating a syntax file, you can get syntax highlighting for whatever languages you fancy.If you're editing script files though, I'd take Chip's advice and look at Torsion. Well worth it for the debugging support.
#6
Notepad can also add binary garbage to a file. It's less likely, but it can happen. I used to use it for fast edits until I began running into it adding garbage to the file.
I would also recommend Notepad++. I like using it for fast edits or to view some source code without firing up Visual Studio. It's also handy for writing xml, html, etc.
07/03/2008 (6:28 am)
@ SteveNotepad can also add binary garbage to a file. It's less likely, but it can happen. I used to use it for fast edits until I began running into it adding garbage to the file.
I would also recommend Notepad++. I like using it for fast edits or to view some source code without firing up Visual Studio. It's also handy for writing xml, html, etc.
#7
Really? Can't say I've ever come across those problems (yet) but thanks for link and I have now downloaded N++.
Cheers for the heads-up.
07/03/2008 (6:53 am)
@ ScottReally? Can't say I've ever come across those problems (yet) but thanks for link and I have now downloaded N++.
Cheers for the heads-up.
#8
07/03/2008 (7:39 am)
Notepad FTW!!!
Associate David Montgomery-Blake
David MontgomeryBlake
If you are using TorqueX, then it is a C# file. If you are using another torque engine, then they are TorqueScript files.
Personally, I would recommend using another program than Wordpad for editing any text file.