Post Reply 
[UPDATE] NOTEPAD++ - now with autocomplete
02-17-2017, 09:16 AM
Post: #21
RE: NOTEPAD++ - now with autocomplete
(02-16-2017 02:16 PM)toml_12953 Wrote:  How do I get the tips? They're in the XML file but when I start to type a keyword, only a list of keywords comes up.

Tom L
You must enter the ()
Try this:
ABS (
Now you visualize tips

Leo

Visit this user's website Find all posts by this user
Quote this message in a reply
02-17-2017, 11:22 AM
Post: #22
RE: NOTEPAD++ - now with autocomplete
(02-17-2017 09:16 AM)jrozsas Wrote:  
(02-16-2017 02:16 PM)toml_12953 Wrote:  How do I get the tips? They're in the XML file but when I start to type a keyword, only a list of keywords comes up.

Tom L
You must enter the ()
Try this:
ABS (
Now you visualize tips

Excellent! It works perfectly when you know what you're doing! Thanks.

Tom L

Tom L
My wife's judgement is much better than mine.
Look who we each married!
Find all posts by this user
Quote this message in a reply
02-19-2017, 04:37 PM
Post: #23
RE: NOTEPAD++ - now with autocomplete
(02-17-2017 11:22 AM)toml_12953 Wrote:  
(02-17-2017 09:16 AM)jrozsas Wrote:  You must enter the ()
Try this:
ABS (
Now you visualize tips

Excellent! It works perfectly when you know what you're doing! Thanks.

Tom L

Hello,
I can't get the tips to work. Does it work with the tips only on Notepad++ x32? I Use Notepad++ x64, maybe that is why.
Find all posts by this user
Quote this message in a reply
02-19-2017, 10:05 PM
Post: #24
RE: NOTEPAD++ - now with autocomplete
(02-19-2017 04:37 PM)John P Wrote:  
(02-17-2017 11:22 AM)toml_12953 Wrote:  Excellent! It works perfectly when you know what you're doing! Thanks.

Tom L

Hello,
I can't get the tips to work. Does it work with the tips only on Notepad++ x32? I Use Notepad++ x64, maybe that is why.

I'm using the 64-bit version and it works for me.

Tom L

Tom L
My wife's judgement is much better than mine.
Look who we each married!
Find all posts by this user
Quote this message in a reply
02-20-2017, 05:02 AM
Post: #25
RE: NOTEPAD++ - now with autocomplete
(02-19-2017 04:37 PM)John P Wrote:  I can't get the tips to work. Does it work with the tips only on Notepad++ x32? I Use Notepad++ x64, maybe that is why.

Did you download it from the provided link to my site and follow the steps in the included README.txt?
Visit this user's website Find all posts by this user
Quote this message in a reply
02-21-2017, 01:14 AM
Post: #26
RE: NOTEPAD++ - now with autocomplete
(02-20-2017 05:02 AM)Eric Rechlin Wrote:  
(02-19-2017 04:37 PM)John P Wrote:  I can't get the tips to work. Does it work with the tips only on Notepad++ x32? I Use Notepad++ x64, maybe that is why.

Did you download it from the provided link to my site and follow the steps in the included README.txt?

Hello,
I downloaded the file from the hpcalc.org, The file is 'hplang.zip' with the file date: 2016/08/05 22:46:40. The command completion works in notepad++ x64 and x32, but the tips don't work. I reinstalled (instructions from the included README.TXT) and tried both, the notepads++ x32 and x64 to the same effect. I use Win10. Thank you for your answer.

John P
Find all posts by this user
Quote this message in a reply
02-21-2017, 10:20 AM (This post was last modified: 02-21-2017 11:29 AM by jrozsas.)
Post: #27
RE: NOTEPAD++ - now with autocomplete
(02-21-2017 01:14 AM)John P Wrote:  
(02-20-2017 05:02 AM)Eric Rechlin Wrote:  Did you download it from the provided link to my site and follow the steps in the included README.txt?

Hello,
I downloaded the file from the hpcalc.org, The file is 'hplang.zip' with the file date: 2016/08/05 22:46:40. The command completion works in notepad++ x64 and x32, but the tips don't work. I reinstalled (instructions from the included README.TXT) and tried both, the notepads++ x32 and x64 to the same effect. I use Win10. Thank you for your answer.

John P

You did what is right, download from hpcalc.org - Avoid downloading from other sites.
But did you follow all the guidelines in this post? Many people did not understand that there are two files with the same name. 1 file hp prime.xml from hpcalc.org originally without autocomplete and calltips.
Other hp prime.xml - the file I made with autocomplete and some calltips (portugues) and you can download in this post.

Another file is hp prime.xml (same name) this is what I did. This file is what contains the autocomplete and also some examples of calltips. But note that I only made a few calltips in my language (Portuguese) and taught how each person can call in their own language.

See this post on this date:
05-07-2016, 04:48 AM
There is the file that I did (hp prime.zip). It contains full autocomplete and some calltips in Portuguese.
Ex:
ABS ()

Leo

Visit this user's website Find all posts by this user
Quote this message in a reply
02-21-2017, 10:59 AM (This post was last modified: 02-21-2017 12:56 PM by jrozsas.)
Post: #28
RE: NOTEPAD++ - now with autocomplete
(02-20-2017 05:02 AM)Eric Rechlin Wrote:  
(02-19-2017 04:37 PM)John P Wrote:  I can't get the tips to work. Does it work with the tips only on Notepad++ x32? I Use Notepad++ x64, maybe that is why.

Did you download it from the provided link to my site and follow the steps in the included README.txt?

The previous version that is currently on the hpcalc.org site did not have autocomplete or calltips. The file that existed before (version date 01-10-2015 -hp prime.xml / 15kb) was same content UserDefineLang.xml and did not contain autocomplete or calltips .
[Image: snap_210.png]
I created this post on 12-14-2015 and after I created the post and made the hp prime.xml file with the autocomplete and calltips feature, hpcalc.org included the hp prime.xml file with autocomplete and calltips (english -08-05-2016 ). However note that if you want to install hp prime.xml with autocomplete and the calltips as they are here, follow this post to not be confused.
If you can install and run, then you can replace the hp prime.xml file from hpcalc.org (current edition) if your language is the same. It will suffice to replace one with another or, if your language is different, you can create your own calltip following the instructions in this post where I taught how to do it.

But this would not be a problem to prevent the operation as you described. Any HP Prime.xml (my or other) should work. I use Notepad++ 6.9.2 win10 64bits

Leo

Visit this user's website Find all posts by this user
Quote this message in a reply
02-21-2017, 04:08 PM
Post: #29
RE: NOTEPAD++ - now with autocomplete
jrszsas,

The steps in your post aren't quite valid for the package I put together. There's no need to download your separate HP Prime.xml file, either, if one wants English tips. All one has to do is follow these steps using the files in the archive downloaded from my web site, assuming NP++ is installed in Program Files (x86):

1. Place "userDefineLang.xml" in any folder
2. In Notepad++, choose "Language" - "Define your language..."
3. Click "Import..." and pick the userDefineLang.xml file
4. Place "HP Prime.xml" in "C:\Program Files (x86)\Notepad++\plugins\APIs"
5. Restart Notepad++
6. In Notepad++, choose "Language" - "HP Prime"

I just verified this again on a new computer with Notepad++ 7.1 32-bit and it worked fine. Perhaps the user having difficulties doesn't know how to bring up tips? (Pressing Ctrl-Shift-Space after typing the opening parenthesis after the function name will display the tips, and pressing Ctrl-Space after typing a letter will show commands starting with that letter.)
Visit this user's website Find all posts by this user
Quote this message in a reply
02-22-2017, 01:31 AM (This post was last modified: 02-22-2017 01:39 AM by John P.)
Post: #30
RE: NOTEPAD++ - now with autocomplete
Thank you all,

Indeed, I didn't know about: Ctrl-Shift-Space and Ctrl-Space. Now it works fine and it worked from the beginning. On my laptop the tips came up automatically after I typed the opening "(". Thank you all again.

John P.
Find all posts by this user
Quote this message in a reply
02-22-2017, 02:54 AM
Post: #31
RE: NOTEPAD++ - now with autocomplete
(02-22-2017 01:31 AM)John P Wrote:  Thank you all,

Indeed, I didn't know about: Ctrl-Shift-Space and Ctrl-Space. Now it works fine and it worked from the beginning. On my laptop the tips came up automatically after I typed the opening "(". Thank you all again.

John P.

In Preferences, open Auto-Completion. There's a box called "function parameters hint on input" that wasn't checked on one of my systems. When I checked that box, the hints would show up automatically.

Tom L

Tom L
My wife's judgement is much better than mine.
Look who we each married!
Find all posts by this user
Quote this message in a reply
02-22-2017, 11:37 AM (This post was last modified: 02-22-2017 11:43 AM by jrozsas.)
Post: #32
RE: NOTEPAD++ - now with autocomplete
(02-22-2017 02:54 AM)toml_12953 Wrote:  
(02-22-2017 01:31 AM)John P Wrote:  Thank you all,

Indeed, I didn't know about: Ctrl-Shift-Space and Ctrl-Space. Now it works fine and it worked from the beginning. On my laptop the tips came up automatically after I typed the opening "(". Thank you all again.

John P.

In Preferences, open Auto-Completion. There's a box called "function parameters hint on input" that wasn't checked on one of my systems. When I checked that box, the hints would show up automatically.

Tom L

ohohohoh - Translations - Languages My god!
I recommended you to follow this post.
I understand that the translations hinder us. What you said is in this video of this post:
12-15-2015, 02:24 AM
Post: #2 -see at 0:22 to 0:50 time
"...In Preferences, open Auto-Completion. There's a box called "function parameters..."
But I recorded the video in my language, but you can watch and see that I did this setup in Notepadd ++
I read and translate what I write with Google Translate. Should the translation be bad?
Maybe I try to insert the translation into youtube video.

Leo

Visit this user's website Find all posts by this user
Quote this message in a reply
02-22-2017, 11:40 AM (This post was last modified: 02-22-2017 11:50 AM by jrozsas.)
Post: #33
RE: NOTEPAD++ - now with autocomplete
(02-21-2017 04:08 PM)Eric Rechlin Wrote:  jrszsas,

The steps in your post aren't quite valid for the package I put together....

For this reason I recommended that follow this post, not the instructions of your package.

Leo

Visit this user's website Find all posts by this user
Quote this message in a reply
02-22-2017, 05:12 PM
Post: #34
RE: NOTEPAD++ - now with autocomplete
(02-22-2017 02:54 AM)toml_12953 Wrote:  
(02-22-2017 01:31 AM)John P Wrote:  Thank you all,

Indeed, I didn't know about: Ctrl-Shift-Space and Ctrl-Space. Now it works fine and it worked from the beginning. On my laptop the tips came up automatically after I typed the opening "(". Thank you all again.

John P.

In Preferences, open Auto-Completion. There's a box called "function parameters hint on input" that wasn't checked on one of my systems. When I checked that box, the hints would show up automatically.

Tom L

Hello,
Works great. The hints come when I press the left parenthesis "(". Thank you for the info.
John P.
Find all posts by this user
Quote this message in a reply
02-22-2017, 08:01 PM
Post: #35
RE: NOTEPAD++ - now with autocomplete
(02-21-2017 04:08 PM)Eric Rechlin Wrote:  Perhaps the user having difficulties doesn't know how to bring up tips? (Pressing Ctrl-Shift-Space after typing the opening parenthesis after the function name will display the tips, and pressing Ctrl-Space after typing a letter will show commands starting with that letter.)

Perhaps this should be included in the Readme.txt

Günter
Find all posts by this user
Quote this message in a reply
02-23-2017, 03:05 AM (This post was last modified: 02-23-2017 03:06 AM by toml_12953.)
Post: #36
RE: NOTEPAD++ - now with autocomplete
(12-14-2015 12:31 PM)jrozsas Wrote:  Hello!
I noticed an interesting feature to write programs.
On the site notepad++ for hp prime I found the xml files to the HP Prime add language in Notepad ++ and It works great, (userDefineLang.XML)

I find a problem with the right arrow in ->HMS and the small exponent E in a number like 3.45E72

Tom L

Tom L
My wife's judgement is much better than mine.
Look who we each married!
Find all posts by this user
Quote this message in a reply
02-23-2017, 11:56 AM
Post: #37
RE: NOTEPAD++ - now with autocomplete
(02-23-2017 03:05 AM)toml_12953 Wrote:  
(12-14-2015 12:31 PM)jrozsas Wrote:  Hello!
I noticed an interesting feature to write programs.
On the site notepad++ for hp prime I found the xml files to the HP Prime add language in Notepad ++ and It works great, (userDefineLang.XML)

I find a problem with the right arrow in ->HMS and the small exponent E in a number like 3.45E72

Tom L
I dont understand. Put images from your notepad, please.

Leo

Visit this user's website Find all posts by this user
Quote this message in a reply
02-23-2017, 01:08 PM
Post: #38
RE: NOTEPAD++ - now with autocomplete
(02-23-2017 11:56 AM)jrozsas Wrote:  
(02-23-2017 03:05 AM)toml_12953 Wrote:  I find a problem with the right arrow in ->HMS and the small exponent E in a number like 3.45E72

Tom L
I dont understand. Put images from your notepad, please.

I just tried it here at work. It works fine. At home, all I get is a little rectangle instead of the exponent or right-arrow symbols. I'll try it at home later and try to figure out the difference between the two systems.

Tom L

Tom L
My wife's judgement is much better than mine.
Look who we each married!
Find all posts by this user
Quote this message in a reply
02-23-2017, 03:10 PM
Post: #39
RE: NOTEPAD++ - now with autocomplete
(02-22-2017 11:40 AM)jrozsas Wrote:  
(02-21-2017 04:08 PM)Eric Rechlin Wrote:  jrszsas,

The steps in your post aren't quite valid for the package I put together....

For this reason I recommended that follow this post, not the instructions of your package.

I'm not sure what you are trying to say here. I think you meant the opposite? The instructions in my package are valid for installing this; the steps in your post are for setting up the obsolete older version that was superseded by the version on my site.

(02-22-2017 08:01 PM)Guenter Schink Wrote:  
(02-21-2017 04:08 PM)Eric Rechlin Wrote:  Perhaps the user having difficulties doesn't know how to bring up tips? (Pressing Ctrl-Shift-Space after typing the opening parenthesis after the function name will display the tips, and pressing Ctrl-Space after typing a letter will show commands starting with that letter.)

Perhaps this should be included in the Readme.txt

Günter

Perhaps. But that's standard Notepad++ behavior and seen in other IDEs as well, so I didn't feel a need to document something already documented and common knowledge. I was just documenting how to install the custom language, not how to use Notepad++. But if I make a new revision I'll add that for people who've never used Notepad++, thanks.
Visit this user's website Find all posts by this user
Quote this message in a reply
02-23-2017, 07:24 PM
Post: #40
RE: NOTEPAD++ - now with autocomplete
(02-23-2017 03:10 PM)Eric Rechlin Wrote:  Perhaps. But that's standard Notepad++ behavior and seen in other IDEs as well, so I didn't feel a need to document something already documented and common knowledge. I was just documenting how to install the custom language, not how to use Notepad++. But if I make a new revision I'll add that for people who've never used Notepad++, thanks.

Hmm, there may be others like me, who simply use Notepad++ instead of the standard editor. I never used it as an IDE, therefore I wasn't aware of this standard feature.

Thanks for your efforts.
Günter
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)