Improving your code
Posted: Mon Mar 06, 2017 3:11 am
Hello people,
I'm here now to show you guys one way to improve your SFD projects...
I've made a "mini-program" some time ago, in python, just for me. The program was simple, it "welded up" the text of files inside a folder (and all sub-folders) so I could separate my code into different files. It was simple but effective, my code felt more organized, I could do more complex things without worrying about forgetting where all the pieces of the code went...
Then I started using Visual Studio, and it just got crazier, now with all the IDE + the ability to separate classes into different files I did some of my most "useless" scripts for SFD:
The IDE made it all easier: The syntax check, the auto-complete, the intellisense...
As I liked so much this program, I thought of sharing it with you guys. So I remade the program, now in C#, and added some more features to it. it's not the best UI I've ever made, but it's OK (I will leave the zipped project in the links part, if you wanna mess around with it).
Maybe you don't really want to make "complex scripts", but I'm sure you don't like to scroll up and down on a near 1000 lines file, it's pure PAIN!
To make it easier to understand the program usage, I've made this video clarifying the overall how-to:
https://youtu.be/GkRT5Oh22vQ
Use the pause button, the video is meant for that.
Version 1.0:
- Simple UI;
- Options:
-- Change output file name;
-- Change input file extension;
-- Code to clipboard;
-- Save used configs (input/output files paths);
-- Recent input paths;
- Snippets:
-- New project;
-- New class;
Notes:
You can always edit the snippets, they are located at the .\\Configs\\Snippets.
Also, NEVER use the word "Temporary" in your files name, the program will ignore it (in short: because Visual Studio)
Links:
Executable: Mega
Source Project: Mega
I'm here now to show you guys one way to improve your SFD projects...
I've made a "mini-program" some time ago, in python, just for me. The program was simple, it "welded up" the text of files inside a folder (and all sub-folders) so I could separate my code into different files. It was simple but effective, my code felt more organized, I could do more complex things without worrying about forgetting where all the pieces of the code went...
Then I started using Visual Studio, and it just got crazier, now with all the IDE + the ability to separate classes into different files I did some of my most "useless" scripts for SFD:
The IDE made it all easier: The syntax check, the auto-complete, the intellisense...
As I liked so much this program, I thought of sharing it with you guys. So I remade the program, now in C#, and added some more features to it. it's not the best UI I've ever made, but it's OK (I will leave the zipped project in the links part, if you wanna mess around with it).
Maybe you don't really want to make "complex scripts", but I'm sure you don't like to scroll up and down on a near 1000 lines file, it's pure PAIN!
To make it easier to understand the program usage, I've made this video clarifying the overall how-to:
https://youtu.be/GkRT5Oh22vQ
Use the pause button, the video is meant for that.
Version 1.0:
- Simple UI;
- Options:
-- Change output file name;
-- Change input file extension;
-- Code to clipboard;
-- Save used configs (input/output files paths);
-- Recent input paths;
- Snippets:
-- New project;
-- New class;
Notes:
You can always edit the snippets, they are located at the .\\Configs\\Snippets.
Also, NEVER use the word "Temporary" in your files name, the program will ignore it (in short: because Visual Studio)
Links:
Executable: Mega
Source Project: Mega