Why sysout shortcut won't work in Eclipse on Mac? - eclipse

I have been a windows user since the beginning, just recently switched to MacOS, all the preferences settings in my Eclipse, they are all set to default with sysout option on, but when I typed sysout in eclipse, it won't automatically go into System.out.println(). I've checked several other related topics as well as most of the resources which mention 'ctrl + space' (Which worked perfectly on Windows for me). But, when I try to use 'command + space' on my Mac it just launches Spotlight search & I have even tried resetting the commands to default in Eclipse, Please let me know how I can get my sysout working.

Just to be simplify in images.
Try to unbind the shortcut on mac:
1- Mac Preferences of system
2- Choose Keyboard:
3- Go to Layout of keyboard and Uncheck "ˆspace"
You can try to change on eclipse, but if you want to use "^space" to shortcut, will be necessary unbind this on mac. By default or mac keys as shortcut to change keyboard type.
(Eu quero Ibagens!)

Related

Eclipse Displays Popup on Rename/Refactor Command

I am getting a popup to choose a command to run when pressing the rename/refactor shortcut. I highlight a file in the Package Explorer, press the command, and popup!?!?!
I have used Eclipse for 13 years, and I have never seen anything like this issue. The rename/refactor shortcut has worked flawlessly on every other instance of Eclipse I have ever used.
The closest help which Google could find is to open the shortcut preferences. I unbinded every command associated to the shortcut binding. Still, the popup continues to appear.
If any of this helps, I am on MacOS Monterey 12.5 and using Eclipse 4.22.0.
Shortcut Command Choice Popup

Sublime Text 3 has integrated terminal?

I normally use the WebStorm IDE for Node.js and FE JavaScript development. However I was thinking of using Sublime Text 3 since I am running out of computing power on a crappy old Macbook Pro and ST3 should be lighter on memory and CPU.
However, my one hangup is that ST3 doesn't seem to have a command line terminal integration possible. I find this to be a very useful feature that's available in Eclipse and WebStorm.
I did some Googling and I don't see any great terminal integration plugins for ST3, is there such a thing or not?
Here is WebStorm with the terminal integrated:
Terminus does this. Supports both Unix and Windows. Works great. 👍
In View (on Windows)
Ctrl + Shift + P --> Terminus: Open Default Shell in Tab (View)
In Panel (on Unix)
Ctrl + Shift + P --> Terminus: Open Default Shell in Panel
Type exit to exit and close the terminal opened in a panel.
I installed the Sublime package TerminalView that can show a terminal window within Sublime in a separate tab.
It works with MacOS or Linux but is no longer actively supported.
Installation:
Open the command palette (Cmd+Shift+P on Mac, Ctrl+Shift+P on Windows) and find Package Control: Install Package
Search for TerminalView and hit Return to install.
The terminal windows has a few flaws (at least on macOS) as it seems to conflict with Sublime's keyboard shortcuts. I however use it only to automatically run unit tests when the edited program code changes. Therefore it works just fine. In that case it works best if I show the terminal window below the text editor. You can do so in the menu View > Layout > Rows: 2.
In sublime 3,
ctrl + shift + p search Package Control: Install Package
Search and install TerminalView
to set shortcuts,
go to Preferences -> Key Bindings
on right side Pane paste this,
[
{ "keys": ["ctrl+shift+t"], "command": "terminal_view_open" }
]
Now ctrl+shift+t is your shortcuts
I prefer Terminus and it's the first cross platform terminal for Sublime Text. Check this video it might help you
I tried Sublime package - TerminalView, quickly realized I couldn't copy paste things. Tried on MacOS.
Terminus(https://github.com/randy3k/Terminus ) looks good to me, it has two options
(i) opens in a tab(view)
(ii) opens also in a panel. (which I prefer most)
The below original answer is now outdated; see below answer by Svish.
I was wondering the same thing a while back, and I believe the answer is: no.
There's no good terminal integration in ST3, except, maybe, for Terminal, which simply takes you to the terminal from any given project folder.
Works ok, but not sure how much it really saves.
No way to have it in the ST3 window AFAIK.

keyboard shortcuts don't work

I'm new to eclipse. Just started today, with an strange problem.
No keyboard shortcuts work. When I press Ctrl+F11 for Running program, nothing happens. But if I choose Run from top menu, it runs the program. Editor shortcuts, like Ctrl+Z work.
I'm running Windows 8.1 on HP Probook; with Eclipse Kepler Service Release 2 (build id: 20140224-0627)
First,When you use shortcut keys, check if the current selected or active source code file has the main method and not your other class.

Can't insert asterisk in eclipse

All of the sudden I can't use shift + 8 to insert an asterisk into my eclipse workspace. If I do that I get a tooltip similar to the code completion box that gives me two options "Add to working set" or "import". I looked at the key bindings in window > preferences > general > keys and there isn't anything there. I'm running Ubuntu 13.04 x64. This is a really strange problem, has anyone ran into this before? I've rebooted, cleaned the workspace, etc.
I had this exact problem and did the following to resolve
Window->Preferences->General->Keys
enter 'Add to working set' into filter
for the option that comes up, click 'Unbind Command'
enter 'Import' into filter
for the option that comes up, click 'Unbind Command'
Hit the OK button to save your preferences
restart eclipse
Note, I too had a case of these bindings not showing up in the Keys screen originally. I restarted eclipse and the key bindings were there.

Are there any good ssh consoles for Eclipse?

I'm looking for a good ssh console plugin for Eclipse, and can't find much at all. Would anyone have some good leads on one?
If you don't like the ssh.shells or ssh.terminals subsystems in Eclipse RSE, try using the Terminal View instead.
Open up Window -> Show View -> Other (or press Shift+Alt+Q then Q)
Type Terminal in the search box
Select the Terminal view listed under the Terminal folder
You'll see a window that looks similar to RSE's ssh.terminals subsystem... but with some extra buttons on the top right.
How to use it:
To fix the scrolling issue (ie: for programs like top), click the Scroll Lock button at the right.
For extra Terminal window tabs, click the down arrow on the New Terminal Connection button
To change the current terminal window's settings, use the Settings button.
If you really like the annoying command input box at the bottom, you can toggle it on and off with the appropriate button.
Change the Background Color:
For some reason, the default setting is to use a terribly hard to see white background. To change this:
Go to Window -> Preferences
Type Terminal in the search box at the top left, or select Terminal on the left.
Check the box that says Invert terminal colors
You can also configure a larger terminal buffer or connection timeouts here
Click Apply
Now the terminal should have a black background! If you want a local terminal, you can enable ssh on your local machine, and connect to localhost.
In Eclipse 3.4.1, there is the Remote Systems Explorer perspective that allows you to create and connect to SSH terminals (here)
There are plugins that exist that allow you up open WinSCP or Putty from within Eclipse.
I would advise maybe doing a search for "putty eclipse plugin" or similar
You can also try the Terminal plug-in for Eclipse
This plug-in provides a fully-working, command-line terminal to
Eclipse 3.7 or later (yes, even 4.2!) It works on Linux and MacOS
only.
More info at: http://alexruiz.developerblogs.com/?p=2428