How to read a js file when I using RSTALS for AutoComplete?

Questions on using RSyntaxTextArea should go here.

Moderator: robert

How to read a js file when I using RSTALS for AutoComplete?

Postby inners » Wed Apr 02, 2014 8:17 am

Hi robert,

I'm trying to make my own HTML+JS editor using RSTA and RSTALanguageSupport.

I already have my own js file that contains several public functions.

When I write a html or js using above editor, It'll be used to every html or js files.


here's the question.

How can I apply my own js file to RSTA & RSTALanguageSupport?

I mean in my own editor, I'd like to do code-completion about my own js's functions & variables.


second question.

in my own editor, I'll write a code using jQuery sometimes. so, is it possible to do code-completion about jQuery APIs in the RSTA?


thank you very much.
inners
 
Posts: 1
Joined: Tue Apr 01, 2014 7:12 am

Re: How to read a js file when I using RSTALS for AutoComple

Postby robert » Mon Apr 07, 2014 12:10 pm

This is being disccussed in this thread on GitHub.

As for jQuery support, feel free to open a Feature Request over on GittHub so it can be tracked. I'm sure many folks would find it useful if it were implemented!
User avatar
robert
 
Posts: 797
Joined: Sat May 10, 2008 5:16 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 3 guests

cron