Repository navigation
Emmet: canceling wrap shouldn't add tab to the active editor - #8489
Conversation
|
By analyzing the blame information on this pull request, we identified Erich Gamma (@egamma) to be a potential reviewer |
|
Hi Denis Malinochkin (@mrmlnc), I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! The agreement was validated by Microsoft and real humans are currently evaluating your PR. TTYL, MSBOT; |
|
Denis Malinochkin (@mrmlnc) Thanks for the PR. If refactored the implementation so that there this special casing on the actionId is no longer needed. if (actionId === 'editor.emmet.action.expandAbbreviation') {
this.editor.trigger('emmet', Handler.Tab, {});
}The solution was to move the noEpansionOccurred from the EditorAccessor to the EmmetAction base class. The method is then overridden for the ExpandAbbreviation action. |
|
Erich Gamma (@egamma) Great idea 🎉 |
|
Erich Gamma (@egamma), but we have a problem: |
|
hmm, looks like the incremental compile didn't flag this, let me fix that |
|
pushed a fix |

Source: #8450
Before:

After
