Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a search box to the multimc console? #47

Closed
RNADNA47 opened this issue Jan 13, 2014 · 6 comments
Closed

Add a search box to the multimc console? #47

RNADNA47 opened this issue Jan 13, 2014 · 6 comments
Assignees
Labels

Comments

@RNADNA47
Copy link

Would it be possible to use PCRE or some other engine to add a search box with regex capability to the multimc console?

Thanks in advance. :)

@Orochimarufan
Copy link
Member

IF at all, we'd use Qt5's Regex engine.

But what do you expect it to do? Jump to the results?
It's easier to just open the crash report in a decent text editor IMHO.

2014/1/13 RNADNA47 notifications@github.com

Would it be possible to use PCRE or some other engine to add a search box
with regex capability to the multimc console?

Thanks in advance. :)


Reply to this email directly or view it on GitHubhttps://github.com//issues/47
.

@lopcode
Copy link
Contributor

lopcode commented Jan 14, 2014

Seconded, @Orochimarufan. IMO it's much better to use the editor of your choice to view the log. Reimplementing it in MultiMC seems a bit odd.

@RNADNA47
Copy link
Author

I thought QT used PCRE. It doesn't really matter which you choose; I prefer PCRE but whatever is easiest.

Here's a few use cases: Someone is trying to find a version of a mod from the log file or locate specific information while minecraft is running. They don't want to hunt for the file in whatever instance folder they are in because that takes time. Perhaps they need to find an error message?

Consider this: how many times do you get someone in IRC going "my mod is broken"? How many times do people eventually get to "what version of forge are you using?" or "what version of mod X are you using"? Minecraft does not display these things (to my knowledge) in a running game, you have to exit to find these values out. With this feature, you could tell them "open your console and put in the search box and tell me what gets highlighted".

Is jumping to a line and highlighting it really hard to do? I'd think QT would have something that makes this easy...

@Khitiara
Copy link
Member

Forge's mods list displays versions and its own version (if the mod has version information)

Sent from my iPad

On Jan 15, 2014, at 4:03 PM, RNADNA47 notifications@github.com wrote:

I thought QT used PCRE. It doesn't really matter which you choose; I prefer PCRE but whatever is easiest.

Here's a few use cases: Someone is trying to find a version of a mod from the log file or locate specific information while minecraft is running. They don't want to hunt for the file in whatever instance folder they are in because that takes time. Perhaps they need to find an error message?

Consider this: how many times do you get someone in IRC going "my mod is broken"? How many times do people eventually get to "what version of forge are you using?" or "what version of mod X are you using"? Minecraft does not display these things (to my knowledge) in a running game, you have to exit to find these values out. With this feature, you could tell them "open your console and put in the search box and tell me what gets highlighted".

Is jumping to a line and highlighting it really hard to do? I'd think QT would have something that makes this easy...


Reply to this email directly or view it on GitHub.

@Orochimarufan
Copy link
Member

TBH, I'd just tell them to pastebin their log and give me the link,
any good browser can Ctrl+F through the stuff
Besides, I'm pretty sure you could Ctrl+A, Ctrl+C -> editor -> Ctrl+V it over too.

Sorry, but I really don't see this happening right now.
If you care enough to implement it, go ahead and submit a PR.

Closed.

@peterix peterix reopened this Feb 1, 2014
@Ozzymud
Copy link

Ozzymud commented Feb 5, 2014

Yea, ctrl-a ctrl-c is fairly easy, but this would make a nice feature, as well as the ability to freeze the scrolling, I sometimes see something shoot by in the log that I would like to look at, but it shoots off the top during loading, being able to freeze the scrolling and/or ctrl-f it afterward would be a big plus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants