PGM icon indicating copy to clipboard operation
PGM copied to clipboard

Tab completion not working in map commands

Open chemistryx opened this issue 5 years ago • 6 comments

chemistryx avatar Nov 09 '19 04:11 chemistryx

Still an issue?

Electroid avatar Nov 17 '19 18:11 Electroid

Yes.

Brottweiler avatar Nov 17 '19 19:11 Brottweiler

I have attempted to make the changes to allow this on my branch https://github.com/Pugzy/PGM/commit/ae6d1708de563eaf93885905a3ac5075fcd67b51.

Using the same fancy hyphen character as OCN did to replace spaces.

image

Does anyone recall what OCN would do when tab completing something such as The Ni [tab] ... le. Once I have added the space results are no longer suggested as it is a different argument.

Pugzy avatar Nov 17 '19 21:11 Pugzy

If you tried to tab-in A Ne it would tab-in as A New┈Day, the vanilla mc client won't replace text already added by the user, and that includes the space, wich will be left unmodified. The issue is, intake will likely not handle this very well had similar issues with map tags where only the first tag will auto-complete, anything after the first space never gets thru any getSuggestions

Pablete1234 avatar Jan 25 '20 01:01 Pablete1234

@Pugzy How far did you get with this?

rafibaum avatar May 08 '20 22:05 rafibaum

@rafibaum got some of it working on https://github.com/Pugzy/PGM/commit/ae6d1708de563eaf93885905a3ac5075fcd67b51 ran into the issue above described by Pablo.

Pugzy avatar May 15 '20 23:05 Pugzy