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

please support custom settings #201

Open
meidea opened this issue Aug 21, 2019 · 9 comments
Open

please support custom settings #201

meidea opened this issue Aug 21, 2019 · 9 comments

Comments

@meidea
Copy link

meidea commented Aug 21, 2019

Issue

Can you support setting the length of the search box ?

The text of the search box should be trimmed before matching.

Specifications

  • Version of the plugin: 0.15
  • IntelliJ IDEA version: 2019.2
@viartemev
Copy link
Owner

@meidea could you explain more about your case?
I can get the idea

@meidea
Copy link
Author

meidea commented Aug 22, 2019

@viartemev
Our request path is a bit long, so I want to customize the length of the search box.
eg: /api/v1/userplatform/activity/listByTagWithOutDetail

When I search for GET , it should be the same as GET;
GET .trim() = GET

@viartemev
Copy link
Owner

I use space delimiter for splitting method and path.
I can't get your idea about space :(
image

@meidea
Copy link
Author

meidea commented Aug 22, 2019

@viartemev Please input /super , add a space at the end;

@asm0dey
Copy link
Collaborator

asm0dey commented Aug 22, 2019

Oh, I believe @meidea means that you should trim whitespaces from start and end of search term before actually searching

@viartemev
Copy link
Owner

@meidea I got it. Would you mind to make a PR for it? I can help you if you need.

@meidea
Copy link
Author

meidea commented Aug 22, 2019

@asm0dey Thank you !

@meidea
Copy link
Author

meidea commented Aug 22, 2019

@viartemev You are the best!

ikopysov added a commit to ikopysov/requestmapper that referenced this issue Sep 28, 2019
ikopysov added a commit to ikopysov/requestmapper that referenced this issue Sep 28, 2019
@ikopysov
Copy link

Seems like both problems (window size and that search will not work if whitespace on the end) are not on this project side (they came from idea)

I've tried to implement "ignore whitespace on the end" feature, but it didn't worked.
Source code (as I know it's useless now) available in the branch https://github.com/ikopysov/requestmapper/tree/%23201

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

No branches or pull requests

4 participants