Skip to content

PR: Add option to update Outline when saving a file#24866

Open
jsbautista wants to merge 18 commits intospyder-ide:masterfrom
jsbautista:refreshOutline
Open

PR: Add option to update Outline when saving a file#24866
jsbautista wants to merge 18 commits intospyder-ide:masterfrom
jsbautista:refreshOutline

Conversation

@jsbautista
Copy link
Copy Markdown
Collaborator

@jsbautista jsbautista commented Aug 19, 2025

Description of Changes

Add option to update outline explorer only when saving.

Issue(s) Resolved

Fixes #15078.

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct:

@jsbautista jsbautista changed the title WIP PR: Update outline explorer when save PR: Update outline explorer when save Aug 26, 2025
Copy link
Copy Markdown
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

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

Thanks @jsbautista for your work on this!

Comment thread spyder/config/main.py Outdated
Comment thread spyder/plugins/editor/widgets/codeeditor/lsp_mixin.py Outdated
Comment thread spyder/plugins/editor/widgets/codeeditor/lsp_mixin.py Outdated
Comment thread spyder/plugins/editor/widgets/editorstack/editorstack.py Outdated
Comment thread spyder/plugins/editor/widgets/editorstack/editorstack.py Outdated
Comment thread spyder/plugins/outlineexplorer/main_widget.py Outdated
Comment thread spyder/plugins/outlineexplorer/widgets.py Outdated
Comment thread spyder/plugins/outlineexplorer/widgets.py Outdated
Comment thread spyder/plugins/outlineexplorer/widgets.py Outdated
Comment thread spyder/plugins/outlineexplorer/widgets.py Outdated
@ccordoba12 ccordoba12 changed the title PR: Update outline explorer when save PR: Add option to update Outline when saving a file Aug 28, 2025
@ccordoba12 ccordoba12 added this to the v6.1.0b1 milestone Aug 28, 2025
Comment thread spyder/plugins/outlineexplorer/main_widget.py Outdated
Co-authored-by: Carlos Cordoba <ccordoba12@gmail.com>
Copy link
Copy Markdown
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

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

Some fixes to my own suggestions.

Comment thread spyder/plugins/outlineexplorer/editor.py Outdated
Comment thread spyder/plugins/outlineexplorer/widgets.py Outdated
Comment thread spyder/plugins/outlineexplorer/editor.py Outdated
Copy link
Copy Markdown
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

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

Tested locally and it's working great, thanks @jsbautista!

Last suggestions for you then this should be ready.

Comment thread spyder/plugins/editor/widgets/codeeditor/lsp_mixin.py Outdated
Comment thread spyder/plugins/outlineexplorer/main_widget.py Outdated
Comment thread spyder/plugins/outlineexplorer/main_widget.py Outdated
Co-authored-by: Carlos Cordoba <ccordoba12@gmail.com>
@ccordoba12 ccordoba12 modified the milestones: v6.1.0b1, v6.1.0b2 Sep 7, 2025
@ccordoba12 ccordoba12 modified the milestones: v6.1.0b2, v6.1.1 Sep 16, 2025
@ccordoba12 ccordoba12 modified the milestones: v6.1.1, v6.1.2 Nov 2, 2025
@ccordoba12 ccordoba12 modified the milestones: v6.1.2, v6.1.3 Nov 30, 2025
@ccordoba12 ccordoba12 modified the milestones: v6.1.3, v6.1.4 Jan 15, 2026
@ccordoba12 ccordoba12 modified the milestones: v6.1.4, v6.1.5 Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refresh outline only when saving file

2 participants