You are here: PSPad forum > English discussion forum > C# in Code Explorer not working correctly

C# in Code Explorer not working correctly

#1 C# in Code Explorer not working correctly

Posted by: mrGizmo | Date: 2014-01-14 21:36 | IP: IP Logged

I searched the PsPad forum and found several people who have requested help however I didn't see any one that addressed the problem. C# in the Code window doesn't pull any methods/functions like it used to years ago, it pulls classes, namespaces and defines but has lost it's ability to get the functions. I looked at the syntax ini and compared it to others and the only thing I could see is that had relevance was the line CodeExplorer=ftCSharp, however I don't see a way to edit or adjust it. What I'm looking for is something like the below sample: (This is mangled due to formatting I'm hoping you'll get the gist of what the

Quote:

Hierarchical‎ Code TreeView
-------------------------------------------------------------------------
TestSample {NameSpace - Level 1 deep}
     CommandManager {Class - Level 2 deep}
            ExecuteCommand {Method/function in Class - Level 3 deep}
            Undo {Method/function in Class - Level 3 deep}
            EndDisableCommands {Method/function in Class - Level 3 deep}
            BeginDisableCommands {Method/function in Class - Level 3 deep}
            ClearHistory {Method/function in Class - Level 3 deep}
      Command {Class - Level 2 deep}
      RangeInfo {Class - Level 2 deep}
            PlaceStart {Method/function in Class - Level 3 deep}
            PlaceEnd {Method/function in Class - Level 3 deep}

Which code wise would look something like the below:

using System.Collections.Generic;
using System;

namespace TestSample
{
internal class CommandManager
{
public void ExecuteCommand(Command cmd)
{
}

public void Undo()
{
}

private void EndDisableCommands()
{
}

private void BeginDisableCommands()
{
}

internal void ClearHistory()
{
}
}

internal abstract class Command
{
}

internal class RangeInfo
{
public PlaceStart { get; set; }
public PlaceEnd { get; set; }
}
}

I have used this application for years and donated to this project, it would be nice if this could be resolved. Any ideas would be appreciated.smiling smiley

Options: Reply | Quote | Up ^


#2 Re: C# in Code Explorer not working correctly

Posted by: pspad | Date: 2014-01-15 05:08 | IP: IP Logged

Thank you for example. I will try to fix it.

Options: Reply | Quote | Up ^


#3 Re: C# in Code Explorer not working correctly

Posted by: mrGizmo | Date: 2014-01-17 15:14 | IP: IP Logged

Thanks for help!

Options: Reply | Quote | Up ^


#4 Re: C# in Code Explorer not working correctly

Posted by: mrGizmo | Date: 2014-03-05 18:39 | IP: IP Logged

Can you let me know when you've resolved this and I will test it for you.

Regards,

Options: Reply | Quote | Up ^


#5 Re: C# in Code Explorer not working correctly

Posted by: pspad | Date: 2014-03-05 20:24 | IP: IP Logged

I am sorry for delay. I know it takes a long time, but I am very busy in my work now.

Options: Reply | Quote | Up ^


#6 Re: C# in Code Explorer not working correctly

Posted by: mrGizmo | Date: 2014-04-17 17:30 | IP: IP Logged

Thanks for your time, just a FYI this worked in a previous version 4.5.5 (2417). For some reason this stopped working somewhere later down the pipe. Thought this might help.

Regards,

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR