Skip to content

Conversation

@Krzysztof-Cieslak
Copy link
Contributor

No description provided.

@bpasero bpasero assigned hediet and unassigned bpasero Feb 16, 2024
@hediet hediet enabled auto-merge (squash) February 19, 2024 11:06
//Invoke provider on focus
this._register(editor.onDidFocusEditorText(async () => {
if (!this._enabled.get()) {
const editorFocusSignal = observableSignalFromEvent('InlineEditController.editorFocusSignal', editor.onDidFocusEditorText);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For focus, I can recommend to have an isFocused: IObservable<boolean>, instead of having two signals indicating the state transitions.

@vscodenpa vscodenpa added this to the February 2024 milestone Feb 19, 2024
@hediet hediet merged commit 7329258 into microsoft:main Feb 19, 2024
@Krzysztof-Cieslak Krzysztof-Cieslak deleted the inline-edit-onblur-onfocus-handlers branch February 19, 2024 13:02
@microsoft microsoft locked and limited conversation to collaborators Jun 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants