Closed Perkin5 closed 3 years ago
I can't reproduce this. What's type of file is it? And can you provide the contents of it?
I set up a file called test.php with the following contents: <?php echo 'select this text'; ?> 'select this text'
If I click between the quotes in the top line I can expand to quotes perfectly. If I click between quotes in the second line nothing happens. BTW the console message for the correct (top line) behaviour is: Info: scope 'text.html.basic source.php.embedded.block.html string.quoted.single.php meta.string-contents.quoted.single.php ', score (512, 512)
I created a file similar to your example, and it worked. It has to be some kind of environmental difference.
Perhaps it's some kind of conflict with some other plugin? Could it be the same thing as discussed here? https://github.com/kek/sublime-expand-selection-to-quotes/issues/8#issuecomment-147076119
Thanks for the response.
I enabled
sublime.log_commands(True)
and the console showed the command initiated correctly. Incidentally, in the thread you sent me the link for, the command was 'expand_selection_to_quotes' whereas I am using 'select_quoted' - am I right?
I also had another package installed called ChangeQuotes so I uninstalled that but it seemed to make no difference.
In case it helps have the following packages installed: Browser Refresh, CSS3, Emmett, Yayaku, HTML Boilerplate, Laravel Blade highlighter, Package Control, Package Resource Viewer, PyV8, Select Quoted, SidebarEnhancements, Sublime-autoprefixer-master, Tag
On 11/10/2015 18:50, Karl Eklund wrote:
I created a file similar to your example, and it worked. It has to be some kind of environmental difference.
Perhaps it's some kind of conflict with some other plugin? Could it be the same thing as discussed here? #8 (comment) https://github.com/kek/sublime-expand-selection-to-quotes/issues/8#issuecomment-147076119
— Reply to this email directly or view it on GitHub https://github.com/kek/sublime-expand-selection-to-quotes/issues/9#issuecomment-147228839.
When I run sublime.log_commands(True)
and then press Ctrl+'
in the file, the console output is command: expand_selection_to_quotes
. select_quoted is another plugin which seems to have the same purpose and the same default keybinding.
Oh! How confusing.
So I have uninstalled the package SelectQuoted but Package Control seems to be unable to find Expand Selection to Quotes. Am I searching for the wrong string?
On 11/10/2015 19:57, Karl Eklund wrote:
When I run |sublime.log_commands(True)| and then press |Ctrl+'| in the file, the console output is |command: expand_selection_to_quotes|. select_quoted is another plugin which seems to have the same purpose and the same default keybinding.
— Reply to this email directly or view it on GitHub https://github.com/kek/sublime-expand-selection-to-quotes/issues/9#issuecomment-147235231.
This plugin was listed in Package Control as supporting only ST2 until yesterday. Can you check again?
Way to go!
Installed and works like a charm. Thanks so much for taking the time. I will use this so much!
Mike
On 12/10/2015 18:51, Karl Eklund wrote:
This plugin was listed in Package Control as supporting only ST2 until yesterday. Can you check again?
— Reply to this email directly or view it on GitHub https://github.com/kek/sublime-expand-selection-to-quotes/issues/9#issuecomment-147474158.
If I try to expand selection to quotes in a text element as opposed to a code element eg
'select this text'
, it doesn't seem to work. I get this in the console: Info: scope 'text.html.basic ', score (0, 0). Is that correct behaviour? I'm on Windows 7 and ST3