http://asawicki.info/ Programming, graphics, games, media, C++, Windows, Internet and more...
Entries for tag "ide", ordered from most recent. Entry count: 2.
EditorConfig to the Rescue for Multiple Projects
I was once asked to participate in a project where coding standard required to use indentation of 3 spaces - different than what I do normally, when I use 4 spaces. I was searching Internet for answer whether Visual Studio supports per-project settings for this and I've found out that it doesn't, but came across this instead: EditorConfig.
This technology is so simple you can learn all about it in just few minutes, still very useful for cases like mine. You can basically create text file called
.editorconfig in root directory of your project and describe configuration for editors using a simple language. For example:
root = true
charset = utf-8
indent_style = space
indent_size = 3
Of course your text editor must support that. It turns out many of them support this standard natively. Editors I care about have plugins for that available. Unfortunately the one for jEdit doesn't seem to work (I've reported this issue), but the one for Visual Studio works perfectly. Now I could have per-project configuration for text editor, including character set, line ending type, and indentation type (tabs versus spaces and the number of spaces).
The Code Bubbles Idea
Code Bubbles Project is an interesting scientific project that tries "Rethinking the User Interface Paradigm of Integrated Development Environments". The core idea may seem controversal, but the video is definitely worth watching. We also have a discussion about this on our forum: Code bubbles - IDE przyszłości? [pl].
When it comes to my opinion, I'm enthusiastic about this - at least about half of this project. For very long time I dream about opening and editing single classes or function definitions instead of navigating over smaller or larger source files. I think that grouping such definitions into source code files as an intermediate step between whole project and single class or function is just unnecesary. Of course those who like to extensively use preprocessor macros, Find&Replace or grep would not agree, but I believe the future is in authomatic code refactoring like "Rename symbol" and intelligent code navigation like tracking call graph.
But on the other hand, I don't like the idea of having bubbles spread over 2D workspace that can panned and zoomed. It remains me of so called mind maps, which I truly hate. I always prefer to write down my ideas, knowledge, design and everyting as pure text in a tree-like nested lists, so for me, it would be more convenient in Code Bubbles to just have a tree of classes and methods and open them in separate tabs, floating windows or something like this.