Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java

Jonathan Söder
Jonathan Söder
7,428 Points

I can't type array brackets into the java-repl.

Hi.

I just want to know if my problem is on my end or if I've encountered a "bug". In the java-repl, I cannot type any array brackets "[]". Nothing comes up when I do. I've tried different combinations as if I used an american keyboard layout. Nothing. Otherwise it works fine in workspaces. EU-layout, latest version of chrome

6 Answers

Jonathan Söder
Jonathan Söder
7,428 Points

Yep, I'm sure! I feel kinda bad, like people should have reported this by now but it seems like I'm the only one experiencing not being able to add brackets at all, not even switching keyboard layout works. I suppose it's on my end. Thanks anyway, I appreciate your help!

Craig Dennis
STAFF
Craig Dennis
Treehouse Teacher

I'm reporting this to our Workspaces team.

Jonathan Söder
Jonathan Söder
7,428 Points

Bump. I really need help with this. I can't follow along in the java-repl at all when I have to type brackets and it's super frustrating. I can't paste copied text either by shortcut or right click menu. It doesn't work with the virtual keyboard either (win 7) and I've tried firefox, chrome and IE. This only applies to the repl. It works in the usual workspace. Again, I'm using EU keyboard layout (I also tried US keyboard layout)

Alexander Schott
Alexander Schott
8,318 Points

I have the same issue. Perhaps the alt hotkeys are overwritten bei repl? I use a macbookpro and I can't use the brackets in REPL too. The only way to get brackets in REPL is to copy the brackets in the workspace and pasting it to repl by right-clicking on the repl field and use paste.

Jonathan Söder
Jonathan Söder
7,428 Points

It might be. It's really frustrating. I can't even paste, so I'm screwed. The option to paste doesn't even show up on my screen. I've tried different browsers and the CTRL + V shortcut to no avail :/

Alexander Schott
Alexander Schott
8,318 Points

yes the shortcuts doesn't work either, but go to repl and mark it, so you can input text, then rightclick on the marked area and a popup should appear where you can choose paste.

Jonathan Söder
Jonathan Söder
7,428 Points

yeah, there literally is no paste option. It's driving me nuts. If I try to highlight text to get a different menu I get a copy option (copy, print, inspect), but still no paste option (and the blinking insertion point resets my text highlight every .5 sec).

Watching craig's rightclick menu in "Java data structures - Splitting Strings" is similar to what one would expect it would look like. I get Back, Forward, Reload, Save as, Print, Translate to etc. The menu options are the exact same as if I would right click empty space in a browser window. It's like it doesn't recognize there's an input/text field.

I also tried deactivating my chrome extensions which did nothing. I forgot to mention I'm on a PC if that makes any difference at all...

Alexander Schott
Alexander Schott
8,318 Points

"The menu options are the exact same as if I would right click empty space in a browser window." and you are pretty sure you clicked left in repl, so its the active frame where you can type text in and then click right on the black blinking spot in repl like this

!(http://i.imgur.com/FLN89us.png "image")

if this does not work, than i have no clue, sorry.

I have the same issue here, i cant type brackets in repl at all, any solution ?

Craig Dennis
Craig Dennis
Treehouse Teacher

Hi bicho ham !

Does copy and paste work? I know it's not ideal.

no i can't paste any thing !

Andreas Böhler
Andreas Böhler
4,588 Points

Yeah, this issue does not seem to have been fixed by now or am I missing something?