Skip to main content



      Home
Home » Newcomers » Newcomers » Regex Outline Plugin(NPP Function List like plugin)
Regex Outline Plugin [message #851076] Fri, 20 April 2012 12:16
Eclipse UserFriend
Hi everyone,

I've been wanting to switch to eclipse from notepad++ for PHP development for a while, but one major hurdle stands in my way. I spent all day yesterday looking for this functionality in eclipse but was unsuccessful.

Here's what I'm trying to find.

In Notepad++, there is a plugin called Function List that I couldn't live without (or couldn't work without anyway). The way it works is you can define different regular expressions that will appear in the outline.

For example, most of the websites I work with are styled as follows:

$page = (isset($_GET['page']) ? $_GET['page'] : 'home');

if($page == 'home'){
    // homepage code goes here.
}

if($page == 'another_page'){
    // another page's code goes here
}

// etc.


This will give me an outline with:
+ PAGE
-- home
-- another_page

See attached screenshot.

I can click on a page in the outline to get to it rather than scroll through thousands of lines of code to find what I need.

I can also put what I call comment bookmarks which I also wrote regular expressions for, and find those instantly as well.

So my question is, is this functionality available in eclipse?

The only thing I was able to find was someone else who gave up looking for this and just uses dummy functions like
function PAGE__home(){}

to make it show up in the outline, but I'd rather not do this, as it looks dirty (maybe I'm just OCD about these things).

Thanks is advance for your replies!

(hope I'm not in the wrong forum, I am a newcomer though)
Previous Topic:Eclipse doesn't build projects until they are closed and reopened (maybe clearcase plugin)
Next Topic:How Can I Sort An SWT Table Using Only The Keyboard
Goto Forum:
  


Current Time: Fri Sep 12 08:56:41 EDT 2025

Powered by FUDForum. Page generated in 0.09035 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top