Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6238917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:17:58+00:00 2026-05-24T11:17:58+00:00

[Using Notepad++ 5.5.1 and Function List plugin v2.0beta] I’m trying to add to or

  • 0

[Using Notepad++ 5.5.1 and Function List plugin v2.0beta]

I’m trying to add to or modify the existing rules for Javascript functions in order to show nested (or member) functions in the function list. For example:

function parentA (base){
  function childA (exp){
    return Math.pow(base, exp);
  }

  alert(childA(2)); // call private function
}

parentA(4); // alerts 4^2 = 16


var parentB = function(str1){
  return {
    childB: function(str2){
      alert(str1 + str2);
    }
  };
}('foo');

parentB.childB('bar'); // alerts 'foobar'

The parentA and parentB functions are listed, but the childA and childB functions are not listed. This nested-child paradigm is common within Javascript libraries and reusable code, and important to be fully navigable in the function list.

Can this be done with groups and/or subgroups? I’ve tried digging through the parsing rules for other class-based languages (that list member functions using subgroups), but I can’t seem to get this to work for Javascript.

Any suggestions? Has anyone accomplished this for their own use? I’m probably being stupid, but I’m going crazy trying to figure this one out – please help! 😉

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T11:17:59+00:00Added an answer on May 24, 2026 at 11:17 am

    Remove the “body begin” and “body end” characters and it will work:

    <Group name="Functions" subgroup="" icon="" child="" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="" keywords="">
         <Rules regexbeg="^\s*function" regexfunc='\s*[&quot;\w_]+' regexend="" bodybegin="" bodyend="" sep="" />
    </Group>
    

    (this example works only for the first type of functions you have put as an example)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to run a shell function to open a file using Notepad.exe
Using VBScript, I want to add an additional button to Notepad labeled send .
I've been using Programmer's notepad for a while now, I find it to be
I've developed a Notepad kinda Windows application in VB.NET using Visual Studio 2008. Is
When I started programming I was using Ruby and the colorful little notepad that
Using C# .NET 3.5 and WCF, I'm trying to write out some of the
Using C# and System.Data.SqlClient, is there a way to retrieve a list of parameters
I saved my Java source file specifying it's encoding type as UTF-8 (using Notepad,
I am using ccl under win7 OS, I call run-program function in ccl console
I am attempting to reverse a string without using the reverse function, classes and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.