IntelliJ allows you to use his own file templates. For instance, you can define an html file template. Then whenever you let IntelliJ to create a new html file, your file template is ready to fill. To do this, go to File/Settings/File Templates. Add a new template in the Templates tab. Fill the content of the file template. Then go to the Project tree. Insert a new file by pressing Alt+Insert. You will see the new file template is there.
To see this in action: http://img143.imageshack.us/my.php?image=creatinghtmltemplateinintellij.swf
Sunday, February 12, 2006
Tips for IntelliJ - 1: Adding a new file template
Posted by Mert Nuhoglu at 9:28 AM 0 comments
Wednesday, February 08, 2006
Rename A Folder In StarTeam
StarTeam doesn't allow to rename a folder. You can rename the folder. But then you will lose the history of the files in this folder. This is not good because the aim of using a configuration management tool is not to lose anything.
There is a way to solve this problem. Say that there is a folder called my-folder. You want to rename the folder as your-folder. Create a new folder in local disk named "your-folder" using StarTeam. Then go to "my-folder". Drag the files in this folder to "your-folder". Select my-file and open History tab. You will see the whole history of the file without losing anything. Then delete my-folder.
You can use this method when using refactoring commands like "Rename File" or "Rename Folder" of your favorite IDE.
Posted by Mert Nuhoglu at 10:50 AM 0 comments
Sunday, January 22, 2006
Praise for Joel Spolsky
There are some software engineering authors, that I really appreciate. Paul Graham, Martin Fowler, Joel Spolsky are some of them. This post is just for Joel Spolsky. He has a good sense of humor. He writes complex ideas in a very simple to understand manner. And his texts are good to learn english :) Therefore I read him with pleasure.
Posted by Mert Nuhoglu at 9:58 AM 0 comments