Editor keys

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

Editor keys

by Kenneth P. Turvey-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A friend of mine and I were comparing Eclipse to NetBeans today and I
realized something.  He asked me what the key combination to delete a
line was, something I do all the time in vi without ever thinking about
it.  I was sure that NetBeans had a key combination to do this, but I was
unable to find it anywhere.  I did a search on Google and found this:

http://developers.sun.com/jsenterprise/reference/techart/
shortcuts.html#editing

Which is great, but I should be able to look these thing up in NetBeans
itself, and change them if I choose to.  

Now ideally, NetBeans would work just like vi :-), but I know that some
heretics might not enjoy this mode of operation.  That said, I should be
able to customize any of these key combinations that I choose to, or at
least find out what they are without leaving the application.  

Even the help information is incomplete.  It only mentions the
"Highlights".  

So where is this information contained in the NetBeans application?

I'm using NetBeans 6.1 BTW.  

--
Kenneth P. Turvey <kt-usenet@...>


Re: Editor keys

by David Heffelfinger-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm not sure if it works with NB 6.1, but there is a vi plugin for NetBeans: https://sourceforge.net/project/showfiles.php?group_id=3653

It worked on 6.0.

David

On Thu, May 1, 2008 at 1:00 AM, Kenneth P. Turvey <kt-usenet@...> wrote:
A friend of mine and I were comparing Eclipse to NetBeans today and I
realized something.  He asked me what the key combination to delete a
line was, something I do all the time in vi without ever thinking about
it.  I was sure that NetBeans had a key combination to do this, but I was
unable to find it anywhere.  I did a search on Google and found this:

http://developers.sun.com/jsenterprise/reference/techart/
shortcuts.html#editing


Which is great, but I should be able to look these thing up in NetBeans
itself, and change them if I choose to.

Now ideally, NetBeans would work just like vi :-), but I know that some
heretics might not enjoy this mode of operation.  That said, I should be
able to customize any of these key combinations that I choose to, or at
least find out what they are without leaving the application.

Even the help information is incomplete.  It only mentions the
"Highlights".

So where is this information contained in the NetBeans application?

I'm using NetBeans 6.1 BTW.

--
Kenneth P. Turvey <kt-usenet@...>




--
http://ensode.net - A Guide to Java, Linux and Other Technology Topics
http://java-ee-5-glassfish.packtpub.com/ - Java EE 5 Development Using GlassFish Application Server
http://jasperreportsbook.packtpub.com - JasperReports For Java Developers

Re: Editor keys

by Charles Johnson-9 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

To delete a line:

Ctrl+E

CJ

David Heffelfinger wrote:

> I'm not sure if it works with NB 6.1, but there is a vi plugin for
> NetBeans: https://sourceforge.net/project/showfiles.php?group_id=3653
>
> It worked on 6.0.
>
> David
>
> On Thu, May 1, 2008 at 1:00 AM, Kenneth P. Turvey
> <kt-usenet@... <mailto:kt-usenet@...>>
> wrote:
>
>     A friend of mine and I were comparing Eclipse to NetBeans today and I
>     realized something.  He asked me what the key combination to delete a
>     line was, something I do all the time in vi without ever thinking
>     about
>     it.  I was sure that NetBeans had a key combination to do this,
>     but I was
>     unable to find it anywhere.  I did a search on Google and found this:
>
>     http://developers.sun.com/jsenterprise/reference/techart/
>     shortcuts.html#editing
>     <http://developers.sun.com/jsenterprise/reference/techart/shortcuts.html#editing>
>
>     Which is great, but I should be able to look these thing up in
>     NetBeans
>     itself, and change them if I choose to.
>
>     Now ideally, NetBeans would work just like vi :-), but I know that
>     some
>     heretics might not enjoy this mode of operation.  That said, I
>     should be
>     able to customize any of these key combinations that I choose to,
>     or at
>     least find out what they are without leaving the application.
>
>     Even the help information is incomplete.  It only mentions the
>     "Highlights".
>
>     So where is this information contained in the NetBeans application?
>
>     I'm using NetBeans 6.1 BTW.
>
>     --
>     Kenneth P. Turvey <kt-usenet@...
>     <mailto:kt-usenet@...>>
>
>
>
>
> --
> http://ensode.net - A Guide to Java, Linux and Other Technology Topics
> http://java-ee-5-glassfish.packtpub.com/ - Java EE 5 Development Using
> GlassFish Application Server
> http://jasperreportsbook.packtpub.com - JasperReports For Java Developers


Re: Editor keys

by Kenneth P. Turvey-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 01 May 2008 14:56:29 +0100, Charles Johnson wrote:

> To delete a line:
>
> Ctrl+E

Yes, thanks, but I knew the answer to the particular question that had
come up when I posted the message.  

The real issue I was trying to get at was that I couldn't find the
information in NetBeans itself.  Also, how do I set it to be Ctrl-F if I
want it to be?  There doesn't seem to be any reason why I shouldn't be
able to do so, so how do I?

Thanks.

--
Kenneth P. Turvey <kt-usenet@...>


Re: Re: Editor keys

by Charles Johnson-9 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In 6.0 at least, you need to go to

Tools|Options|Keymap

CJ

Kenneth P. Turvey wrote:

> On Thu, 01 May 2008 14:56:29 +0100, Charles Johnson wrote:
>
>  
>> To delete a line:
>>
>> Ctrl+E
>>    
>
> Yes, thanks, but I knew the answer to the particular question that had
> come up when I posted the message.  
>
> The real issue I was trying to get at was that I couldn't find the
> information in NetBeans itself.  Also, how do I set it to be Ctrl-F if I
> want it to be?  There doesn't seem to be any reason why I shouldn't be
> able to do so, so how do I?
>
> Thanks.
>
>  


Re: Editor keys

by Kenneth P. Turvey-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 01 May 2008 09:49:36 -0400, David Heffelfinger wrote:

> I'm not sure if it works with NB 6.1, but there is a vi plugin for
> NetBeans: https://sourceforge.net/project/showfiles.php?group_id=3653
>
> It worked on 6.0.
>

Works in 6.1!  This is great!  Thanks!

--
Kenneth P. Turvey <kt-usenet@...>


Re: Editor keys

by Kenneth P. Turvey-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 01 May 2008 17:51:55 +0100, Charles Johnson wrote:

> In 6.0 at least, you need to go to
>
> Tools|Options|Keymap

I actually looked there, but was unable to find many of the basic editor
commands.  For instance, where do I find that Ctrl-E deletes a line?  

Thanks,

--
Kenneth P. Turvey <kt-usenet@...>


Re: Re: Editor keys

by Charles Johnson-9 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 >>For instance, where do I find that Ctrl-E deletes a line?

It's under the 'Other' node of the Keymap tree in 6.0

CJ


Kenneth P. Turvey wrote:

> On Thu, 01 May 2008 17:51:55 +0100, Charles Johnson wrote:
>
>  
>> In 6.0 at least, you need to go to
>>
>> Tools|Options|Keymap
>>    
>
> I actually looked there, but was unable to find many of the basic editor
> commands.  For instance, where do I find that Ctrl-E deletes a line?  
>
> Thanks,
>
>  


Re: Editor keys

by Kenneth P. Turvey-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 02 May 2008 07:32:33 +0100, Charles Johnson wrote:

>>>For instance, where do I find that Ctrl-E deletes a line?
>
> It's under the 'Other' node of the Keymap tree in 6.0

Other?

Thanks.  It looks like most of the information I was looking for is
categorized under "Other".  


--
Kenneth P. Turvey <kt-usenet@...>


Re: Re: Editor keys

by David Heffelfinger-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In NetBeans: Help->Keyboard Shortcuts Card will bring up a PDF with most of the standard shortcuts, it directs you to http://wiki.netbeans.org/wiki/view/KeymapProfileFor60 for the complete list.

To modify the shortcuts, you can go to Tools->Options, then click on the "Keymap" icon at the top.

Hope that helps.

David

On Thu, May 1, 2008 at 12:41 PM, Kenneth P. Turvey <kt-usenet@...> wrote:
On Thu, 01 May 2008 14:56:29 +0100, Charles Johnson wrote:

> To delete a line:
>
> Ctrl+E

Yes, thanks, but I knew the answer to the particular question that had
come up when I posted the message.

The real issue I was trying to get at was that I couldn't find the
information in NetBeans itself.  Also, how do I set it to be Ctrl-F if I
want it to be?  There doesn't seem to be any reason why I shouldn't be
able to do so, so how do I?

Thanks.

--
Kenneth P. Turvey <kt-usenet@...>




--
http://ensode.net - A Guide to Java, Linux and Other Technology Topics
http://java-ee-5-glassfish.packtpub.com/ - Java EE 5 Development Using GlassFish Application Server
http://jasperreportsbook.packtpub.com - JasperReports For Java Developers

"No tests were created because no testable class was found"

by Prastein, Rebeccah H :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just an FYI, this turns out to be another Perforce/VCS file locking
quirk.  

I got this message trying to generate a junit test file for one of my
classes.  Googling didn't help me determine the cause of the problem.
It turns out I had already generated a test class and checked it in, and
now the test file is not checked out from Perforce and so not able to be
replaced with the newly generated file.  There is a prompt to edit the
file, which, even though I answer in the affirmative, doesn't seem to
actually make the file editable, and so another attempt to generate the
test file from the source fails again.  However, if I manually mark the
file for edit in perforce (using the NB plugin), now the test file
generation succeeds.

Just thought I'd record this for some future Perforce and Netbeans user
to find in *their* google search...

Rebeccah
------------------------------------------
The contents of this message, together with any attachments, are
intended only for the use of the person(s) to which they are
addressed and may contain confidential and/or privileged
information. Further, any medical information herein is
confidential and protected by law. It is unlawful for unauthorized
persons to use, review, copy, disclose, or disseminate confidential
medical information. If you are not the intended recipient,
immediately advise the sender and delete this message and any
attachments. Any distribution, or copying of this message, or any
attachment, is prohibited.