Skip to content

[Bug]: Subfolders doesn't store defaultLanguage #656

Closed

Description

@EriOldMan

Describe the bug

Changing the default language of a subfolder does nothing

To reproduce

  1. Create a new folder
  2. Create a new folder inside previous folder
  3. Change the default language of the subfolder to something (for example: Python).
  4. Add a new snippet inside the subfolder
  5. The new snippet's language is still 'Plain Text'

Expected behavior: The default language of the new snippet must be as configured before (Python in this case)

App Version and Architecture

4.4.0

System info

System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz
    Memory: 2.52 GB / 7.89 GB

Validations

Activity

  1. antonreshetov commented on Dec 28, 2025

    @antonreshetov
    Member

    Why do you think it’s a bug? Subfolders may contain other snippets with other languages obviously.

  2. EriOldMan commented on Dec 28, 2025

    @EriOldMan
    Author

    Why do you think it’s a bug? Subfolders may contain other snippets with other languages obviously.

    Maybe because THERE IS A DEFAULT LANGUAGE SELECTION!! Even the folders can contain snippets from various languages but still they can have a default language. If the option is not going to change anything, why is it there?!

  3. antonreshetov commented on Dec 29, 2025

    @antonreshetov
    Member

    @EriOldMan While you've highlighted a valid inconsistency in the UI settings, there is no need for such an aggressive tone. This is an open-source project, and we value helpful feedback, not shouting. I will reopen the issue to investigate the logic of the default language for subfolders, but please refrain from this kind of communication in the future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions