Jump to content
Sign in to follow this  
JohnBailey

Keywords with hinting

Recommended Posts

JohnBailey

Currently when I type something like _FileCreate, SciTE will automatically give me a hint to what I want to write (even narrowing it down) and then give me the parameters too. How do I add my own to the list that does this? I tried adding it to the au3.keywords.properties, but that didn't do the trick. Is it even possible?


A decision is a powerful thing

Share this post


Link to post
Share on other sites
poisonkiller

SciTe -> Tools -> User CallTip Entries

Example entry:

_FileCountLines($File) Returns counts on lines in file.(required: #include <File.au3>)

Share this post


Link to post
Share on other sites
JohnBailey

SciTe -> Tools -> User CallTip Entries

Example entry:

_FileCountLines($File) Returns counts on lines in file.(required: #include <File.au3>)
THANK YOU!!!!

A decision is a powerful thing

Share this post


Link to post
Share on other sites
JohnBailey

Howcome the Keywords I added to au3.keywords.properties under UDFs isn't turning blue when I typed it? It is hinting and I've restarted SciTE


A decision is a powerful thing

Share this post


Link to post
Share on other sites
Jos

Howcome the Keywords I added to au3.keywords.properties under UDFs isn't turning blue when I typed it? It is hinting and I've restarted SciTE

Should work .... how have you added them ? are they coded in lowercase ?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
JohnBailey

Should work .... how have you added them ? are they coded in lowercase ?

Here's the function and thanks to poisonkiller it's showing up in the calltip : _jSaveListView($listViewObjectName,$saveToFile,$hArray='',$cCheck=false,$nCheck="",$jslvDelimiter='|')

I put

_jSaveListView

into au3.keywords.udfs=

_worderrorhandlerderegister _worderrorhandlerregister _worderrornotify _wordmacrorun \

_wordpropertyget _wordpropertyset _wordquit _jSaveListView


A decision is a powerful thing

Share this post


Link to post
Share on other sites
Jos

Here's the function and thanks to poisonkiller it's showing up in the calltip : _jSaveListView($listViewObjectName,$saveToFile,$hArray='',$cCheck=false,$nCheck="",$jslvDelimiter='|')

I put

_jSaveListView

into au3.keywords.udfs=

_worderrorhandlerderegister _worderrorhandlerregister _worderrornotify _wordmacrorun \

_wordpropertyget _wordpropertyset _wordquit _jSaveListView

as said ... try to change it to lowercase ....:whistle:

_worderrorhandlerderegister _worderrorhandlerregister _worderrornotify _wordmacrorun \

_wordpropertyget _wordpropertyset _wordquit _jsavelistview

one thing to remember is that this file will be overridden when you do the next upgrade of the package ....

Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
JohnBailey

:whistle: (eeek, I need to read slower and pay closer attention) Thanks for your politeness and patience.

Yeah, I only have a few functions that I use a lot that I built, so it's easy to add them.

THANK YOU GUYS!!! This is going to help major!!!!


A decision is a powerful thing

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×