• Login
Community
  • Login

function list for java plugin or create a new function list for java plz solve this problem

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
4 Posts 2 Posters 381 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    Manpreet Singh
    last edited by Aug 18, 2022, 2:44 PM

    function list for java now working in new version
    plz creat a plugin for java function list or
    create a new function list for java or
    create a new version of notepad++
    plz solve this problem

    P 3 Replies Last reply Aug 18, 2022, 2:44 PM Reply Quote 0
    • P
      PeterJones @Manpreet Singh
      last edited by Aug 18, 2022, 2:44 PM

      @Manpreet-Singh ,

      Stop spamming with the same problem. You only need to bring it up once, then be patient.

      1 Reply Last reply Reply Quote 0
      • P PeterJones referenced this topic on Aug 18, 2022, 2:47 PM
      • P PeterJones referenced this topic on Aug 18, 2022, 2:48 PM
      • P PeterJones referenced this topic on Aug 18, 2022, 2:49 PM
      • P
        PeterJones @Manpreet Singh
        last edited by PeterJones Aug 18, 2022, 3:14 PM Aug 18, 2022, 3:10 PM

        @Manpreet-Singh ,

        plz creat a plugin for java function list

        Function List is not implemented via a plugin; it is a built-in feature in Notepad++, so no plugin needs to be created.

        Re: FunctionList with UDL

        Despite the link you made in this other copy of your topic, java syntax highlighting is not a UDL, so linking to a UDL discussion was irrelevant.

        function list for java now working in new version

        I assume you mean “not working”. Because “now working” means it has no problems at this moment in time, and you wouldn’t have been prompted to rudely post the same problem four times in about 10 minutes.

        function list for java [is not] working in new version

        Which version do you consider the “new version”? – To answer this question, please go to the ? menu in Notepad++, click on Debug Info, click on Copy debug info into clipboard, and paste the results.

        Do you have an “old version” where you think it did work? If so, which version was it?

        function list for java [is not] working in new version

        I think it does work, and I can prove it. Here is an example:
        770d1ad9-907e-4273-af99-af8e0908a399-image.png

        /* HelloWorld.java
         */
        
        public class HelloWorld
        {
        	public static void main(String[] args) {
        		System.out.println("Hello World!");
        	}
        }
        

        If you have actual data showing that it doesn’t work (including copy/paste the source code so we can try to replicate it), please share a screenshot and the source code, so that we can try to replicate it. (When you paste the source code into your reply, select it and click the </> button on the toolbar so that it shows up in a text box like my example above does. For your screenshot, just take the screenshot with Alt+PrintScreen or equivalent and paste the image directly into the reply – it will automatically upload into your post)
        s

        create a new version of notepad++

        You do not need to have someone create a new version of Notepad++: anyone can edit the regex in their local copy of functionList\java.xml to change what gets matched.

        And, btw, this forum is made up of fellow users of Notepad++; if we can confirm there’s a problem with Notepad++, the best we can do is point you to where to go to make an official feature request, we cannot release a new version of Notepad++ for you.

        One last warning: if you continue to abuse the forum (posting multiple times, etc), you can be banned for such behavior.

        1 Reply Last reply Reply Quote 1
        • P
          PeterJones @Manpreet Singh
          last edited by PeterJones Aug 18, 2022, 3:27 PM Aug 18, 2022, 3:26 PM

          @Manpreet-Singh ,

          One more freebie: check if you have a newline at the end.

          Note that my example screenshot above shows the file has 10 lines, the last being blank.

          If you have a file that doesn’t have a newline after the closing } – so only 9 lines instead – it won’t syntax highlight.

          d3b6a0d3-0308-4e9d-945d-f10677c52a88-image.png

          The highlighter requires at least one newline or other whitespace character after the final }.

          1 Reply Last reply Reply Quote 1
          3 out of 4
          • First post
            3/4
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors