JetBrains: “Search Selection on Sourcegraph Web” in case of no selection
Created by: vdavid
These two items are currently disabled if there is no selection:
Our user in user test no. 2 seemed to struggle with this. He made no specific suggestion on what he wanted for the item to do in the lack of a selection.
Solution ideas for the case of no selection: a.) Keep it disabled, we're fine with this b.) Enable it and search for the whole line c.) Enable it and when clicked, expand selection and search for the currently selected word
Note: In the case of b.) and c.), there is a worst-case scenario that we don't find anything and we'll search for an empty string (""), for example, in the case of an empty file.
I'd go with b.)