Clean code with default profile: save action.

3 posts, 0 answers
  1. Jan
    Jan avatar
    2 posts
    Member since:
    Jun 2011

    Posted 21 Jun 2011 Link to this post

    Hey experts!

    I've just started using Telerik's JustCode and I must say that I find it an amazing product.  It's a lot less intrusive then R# or other similar products I've tested, and I'm hardly experiencing any delay / performance loss compared to running VS without JC.

    There's one minor thing that I'm missing though, and that's the option to have "Clean code with default profile" (Ctrl+Alt+Shift+F shortcut) executed whenever I save a file.  Having worked in the Eclipse IDE for many years, their "Save Actions" have always been my most appreciated and time saving feature...

    Is this feature something that is:
     * already in the JC product, but I'm too blind to find how to enable it?
     * not in the JC product, but in the product backlog for a future release?
     * not in the JC product, but in the VS IDE, and I'm too blind to find how to enable it?
     * not in the JC product, nor the VS IDE, but has a workaround? (macros that can be executed on save automatically, third party addins,  ... whatever?)

    Any feedback on this issue would be highly appreciated.
    Kind regards

    Jan Van der Haegen
    Software Developer & Scrum master
    Centric Belgium
  2. Vladi
    Admin
    Vladi avatar
    167 posts

    Posted 22 Jun 2011 Link to this post

    Hello Jan,

    Thank you for your feedback and the nice words. Unfortunately we don't have this option and Visual Studio doesn't support it. Nevertheless we like your idea and have added it as PITS item. Also I've updated your Telerik points because of the nice feature request. You can follow and vote for the idea here: http://www.telerik.com/support/pits.aspx#/public/justcode/6597

    Meanwhile you can try to create a macros by yourself and bind these two commands. Here are links with more instructions: 
    http://msdn.microsoft.com/en-us/library/0b27f9kz.aspx and http://msdn.microsoft.com/en-us/library/envdte._dispdocumentevents_event.add_documentsaved.aspx. Although I'm not sure whether this macros will work for you as the available event is "DocumentSaved", i.e. the Clean Code command will be executed after the file is saved. But I may be wrong.

    Thanks again and keep your feedback coming. It's very valuable for us.

    Best wishes,
    Vladi
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Jan
    Jan avatar
    2 posts
    Member since:
    Jun 2011

    Posted 22 Jun 2011 Link to this post

    Vladi, 

    what an amazing response, thank you so much for the effort you have put into this and the quality of your service!

    I'm looking forward to the addition of this feature. Meanwhile, let me play around a bit with the macros.   I'll post back if something usefull came up, perhaps it can help others.

    Kind regards

    Jan Van der Haegen
Back to Top