TechnionYP5777 / Bugquery

Bug query
9 stars 1 forks source link

Find the current project name #121

Closed mdoron closed 7 years ago

mdoron commented 7 years ago

Since we can't get it from the stack trace and we need it in order to put our markers in it

mdoron commented 7 years ago

Update: apparently it's harder than it seems. We probably need an IResource to get its IProject, but we only have the file name (using #120)... Posted my question on StackOverflow, maybe the almighty internet would be helpful...

mdoron commented 7 years ago

Update: As Greg suggested, this lead would be investigated.

yosefraisman commented 7 years ago

We already have methods of picking up the trace (so we don't need org.eclipse.ui.console.consolePatternMatchListeners). We just need a way to search for the file (using Eclipse JDT Search Engine as was suggested), right?

mdoron commented 7 years ago

I think you're right, I'm assigning you too to this issue

mdoron commented 7 years ago

It's too complicated for now, the search is not intended for this, but luckily - I have a solution that will work. We will look for all the open projects and let the user mark the project he wants us to work on. This is not perfect solution but a feasible one.

FYI: @yosefraisman

@AdiOmari do you approve? We have a serious problem in finding the last launched project name, and I think this will solve the problem.

yosefraisman commented 7 years ago

Sounds reasonable.

On May 24, 2017 11:52, "Doron Meshulam" notifications@github.com wrote:

It's too complicated for now - I have a solution that will work. We will look for all the open projects and let the user mark the project he wants us to work on. This is not perfect solution but this will work.

FYI: @yosefraisman https://github.com/yosefraisman

@AdiOmari https://github.com/adiomari do you approve? We have a serious problem in finding the last launched project name, and I think this will solve the problem.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TechnionYP5777/Bugquery/issues/121#issuecomment-303660757, or mute the thread https://github.com/notifications/unsubscribe-auth/APsYDAjYJw34XplFlAZxfkM3Cn-794G6ks5r8--8gaJpZM4Ne_C8 .