nwjlyons / google-search

Search Google for the currently selected text in Sublime Text.
https://sublime.wbond.net/packages/Google%20Search
MIT License
20 stars 4 forks source link

Feature request: Affix file type name #5

Open theredwillow opened 8 years ago

theredwillow commented 8 years ago

Could you tell me if there is a way to affix the file type name to the Google searches? For example, if I'm working on a .py file in Sublime Text and I highlight some text and use your google-search package, I want it to do a search for the highlighted text with " python" included automatically (same with ".php" and " php", etc...)

mihai-vlc commented 8 years ago

At the moment you can add a static suffix/prefix using the settings.

We could add this as an additional configuration to allow you to make a mapping between the current scope and the suffix.

I will look in more details over this in the weekend.