#17 Feature Request ID: 3403267 + few minor changes

Unstable (example)
closed-accepted
nobody
5
2012-04-08
2012-03-25
No

Please let me know if there any issues with below patch. I understand that a discussion may be necessary for some (or many !!?) parts of the code change.

Change Description:
- Change to perspective
-- Added problems view in the default perspective layout which now shows 2 views in bottom panel with problems view as default and tasks view as second tab.
- Change to Templates
-- Added a template named “perl” to provide shebang line with configured interpreter and use strict and warnings pragmas.
- Changes for feature request 3403267
-- New preference page named “Outline View” to configure the behavior. Modified below files for this change:
-- plugin.xml (for page definition)
-- OutlineViewPreferencePage.java (new class)
-- PreferenceConstants.java (2 new preference constants)
-- PreferencesMessages.java (4 new preference messages)
-- PreferencesMessages.properties (4 new preference messages)
-- PerlOutlineContentProvider.java (behavior change based on preferences)

Discussion

  • abhishekisnot

    abhishekisnot - 2012-03-25

    I think for long term, we should support those little icons in JDT outline view such as 'A->Z', hide modules, hide subroutines, and Collapse all.

     
  • Jan Ploski

    Jan Ploski - 2012-03-25

    I haven't applied and tested the patch yet, just had a quick look at the text. It looks ok, except for changing the preference default for Perl interpreter from "perl" to "/usr/bin/perl". Windows users would suffer, and Unix users probably don't care that much (as it seems to work without an absolute path).

    Everything that makes EPIC look and behave more like JDT is good unless proven otherwise.

     
  • abhishekisnot

    abhishekisnot - 2012-03-25

    Please do not apply this patch - I should be able to submit new patch soon with the icons feature in outline view.

     
  • abhishekisnot

    abhishekisnot - 2012-03-26

    3 lines patch + images

     
    Attachments
  • abhishekisnot

    abhishekisnot - 2012-03-26

    Here is another patch for this. I reverted the interpreter prefereces and added those little icons in outline view. One contrast to JDT is JDT does not support reverse operations whereas we do - For Example: Clicking on collapse all collapses all the nodes - and clicking it again "uncollapses all nodes".

    Let me know your thoughts on this,

     
  • abhishekisnot

    abhishekisnot - 2012-04-01

    Hi it was getting hard to keep track of the code by patch process. So I forked the repo in github and requested for pull with the changes. Let me know if this process can be followed from here onwards?

     
  • Jan Ploski

    Jan Ploski - 2012-04-08
    • status: open --> open-accepted
     
  • Jan Ploski

    Jan Ploski - 2012-04-08

    Released in 0.6.43. Thanks!

     
  • Jan Ploski

    Jan Ploski - 2012-04-08
    • status: open-accepted --> closed-accepted
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks