Jsoftware
High-Performance Development Platform

J7 IDE

View: New views
9 Messages — Rating Filter:   Alert me  

J7 IDE

by david alis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Last week Kip Murray suggested an Integrated User Environment.
It reminded me of some experiments I did a few months ago
based on changing the jijs locale so as to provide
a second interactive J window where tacit expressions could be analysed.
I've put the resulting script up on the wiki, and a screen shot.
http://www.jsoftware.com/jwiki/DavidAlis/TacitExpressions

Running the script opens a second ijx window. The idea is that
a user copies an expression from the main ijx window into this
secondary window.
In this way parts of a tacit expression can be changed or
studied on their own.

It would be great if the new J7 IDE could do something similar.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Parent Message unknown J7 intellisense ?

by Anssi Seppälä :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is there any chance that J development window could also assist with
names like Intellisense in Microsoft Studio or in Dyalog 10+ ?

Anssi

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Re: J7 intellisense ?

by bill lam-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 04 Nov 2009, Anssi Sepp?l? wrote:
> Is there any chance that J development window could also assist with
> names like Intellisense in Microsoft Studio or in Dyalog 10+ ?

I've never used "intellisense" is it the same as completion?  I guess
it should be theoretically feasible in the new gtk ide, but any
volunteer?

--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Re: J7 intellisense ?

by Anssi Seppälä :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, I mean name completion. I asked my colleague what they call this
feature in MS Studio.

At 10:15 4.11.2009, bill lam wrote:

>On Wed, 04 Nov 2009, Anssi Sepp?l? wrote:
> > Is there any chance that J development window could also assist with
> > names like Intellisense in Microsoft Studio or in Dyalog 10+ ?
>
>I've never used "intellisense" is it the same as completion?  I guess
>it should be theoretically feasible in the new gtk ide, but any
>volunteer?
>
>--
>regards,
>====================================================
>GPG key 1024D/4434BAB3 2008-08-24
>gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
>----------------------------------------------------------------------
>For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Re: J7 intellisense ?

by Alex Rufon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I don't know if name completion would work with the base symbols i.e. ({./#)

But it would be useful if a name completion/intellisense would work for defined verbs. Like I would just load 'primitives.ijs' and all defined names/nouns/verbs would be part of name completion/intellisense.

How would we go about this?

-----Original Message-----
From: beta-bounces@... [mailto:beta-bounces@...] On Behalf Of Anssi Sepp?l?
Sent: Wednesday, November 04, 2009 4:31 PM
To: Beta forum
Subject: Re: [Jbeta] J7 intellisense ?

Yes, I mean name completion. I asked my colleague what they call this
feature in MS Studio.

At 10:15 4.11.2009, bill lam wrote:

>On Wed, 04 Nov 2009, Anssi Sepp?l? wrote:
> > Is there any chance that J development window could also assist with
> > names like Intellisense in Microsoft Studio or in Dyalog 10+ ?
>
>I've never used "intellisense" is it the same as completion?  I guess
>it should be theoretically feasible in the new gtk ide, but any
>volunteer?
>
>--
>regards,
>====================================================
>GPG key 1024D/4434BAB3 2008-08-24
>gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
>----------------------------------------------------------------------
>For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Re: J7 intellisense ?

by neitzel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> But it would be useful if a name completion/intellisense would work for
> defined verbs. Like I would just load 'primitives.ijs' and all defined
> names/nouns/verbs would be part of name completion/intellisense.
> How would we go about this?

I'm doing this since ages.

When I edit scripts with vim, I complete against the tags collection
compiled from J's standard library (Ctrl-X Ctrl-], or, depending on
your vim version and setup, simply Ctrl-P).

When using the jconsole, I simply use xterm(1)'s auto-completion
against the screen buffer.  This is a lesser known facility in xterm
which may or may not be compiled into your distribution's xterm.
Where it is not, I compile xterm on my own, because it is tremendously
useful for me, for any and even across applications. (For example,
let "ls" list your files, and subsequently use completion to "rm"
some of those files.) The relevant configure option is "--enable-dabbrev".

Here is the snippet from the xterm man page:

ACTIONS
       It  is  possible  to  rebind  keys  (or sequences of keys) to arbitrary
       strings for input, by changing the translations resources for the vt100
       or  tek4014  widgets.   Changing  the  translations resource for events
       other than key and button events is not expected, and will cause unpre-
       dictable  behavior.   The following actions are provided for use within
       the vt100 or tek4014 translations resources: [...]

       dabbrev-expand()
               Expands  the  word  before cursor by searching in the preceding
               text on the screen and  in  the  scrollback  buffer  for  words
               starting  with  that  abbreviation.  Repeating dabbrev-expand()
               several times in sequence searches for an alternative expansion
               by looking farther back.  Lack of more matches is signaled by a
               beep().  Attempts to expand an empty word (i.e., when cursor is
               preceded  by  a  space)  yield successively all previous words.
               Consecutive identical expansions are ignored.  The word here is
               defined  as  a  sequence  of  non-whitespace  characters.  This
               feature partially emulates the behavior of  `dynamic  abbrevia-
               tion'  expansion  in  Emacs  (bound  there  to M-/).  Here is a
               resource setting for  xterm  which  will  do  the  same  thing:
               *VT100*translations:     #override  \n\         Meta <KeyPress>
               /:dabbrev-expand()

                                                                Martin
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Re: J7 intellisense ?

by bill lam-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 09 Nov 2009, neitzel@... wrote:

> Here is the snippet from the xterm man page:
>
> ACTIONS
>        It  is  possible  to  rebind  keys  (or sequences of keys) to arbitrary
>        strings for input, by changing the translations resources for the vt100
>        or  tek4014  widgets.   Changing  the  translations resource for events
>        other than key and button events is not expected, and will cause unpre-
>        dictable  behavior.   The following actions are provided for use within
>        the vt100 or tek4014 translations resources: [...]
>
>        dabbrev-expand()
>                Expands  the  word  before cursor by searching in the preceding
>                text on the screen and  in  the  scrollback  buffer  for  words
>                starting  with  that  abbreviation.  Repeating dabbrev-expand()
>                several times in sequence searches for an alternative expansion
>                by looking farther back.  Lack of more matches is signaled by a
>                beep().  Attempts to expand an empty word (i.e., when cursor is
>                preceded  by  a  space)  yield successively all previous words.
>                Consecutive identical expansions are ignored.  The word here is
>                defined  as  a  sequence  of  non-whitespace  characters.  This
>                feature partially emulates the behavior of  `dynamic  abbrevia-
>                tion'  expansion  in  Emacs  (bound  there  to M-/).  Here is a
>                resource setting for  xterm  which  will  do  the  same  thing:
>                *VT100*translations:     #override  \n\         Meta <KeyPress>
>                /:dabbrev-expand()
>

after compiling and install xterm with that support. I cannot set it
to work, exactly what should be added to ~/.Xresources if I want to
bind it to Alt-/  ?


--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Re: J7 intellisense ?

by neitzel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> after compiling and install xterm with that support. I cannot set it
> to work, exactly what should be added to ~/.Xresources if I want to
> bind it to Alt-/  ?

I have (among others) these two lines in my ~/lib/app-defaults/XTerm:

*.VT100*translations:    #override \n\
                Meta <KeyPress> /:dabbrev-expand()

(Every character as stated here.)  

                                                        Martin
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Re: J7 intellisense ?

by bill lam-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 10 Nov 2009, neitzel@... wrote:
> > after compiling and install xterm with that support. I cannot set it
> > to work, exactly what should be added to ~/.Xresources if I want to
> > bind it to Alt-/  ?
>
> I have (among others) these two lines in my ~/lib/app-defaults/XTerm:
>
> *.VT100*translations:    #override \n\
> Meta <KeyPress> /:dabbrev-expand()

Thanks, I put it into ~/.Xresources and replace Meta with Alt and it
works now.

--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm