Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Running "leetcode edit" with a specified language resets config options #187

Open
@lukejans

Description

issue example

I had the following code configuration options in my config file.

[code]
editor = "cat"
lang = "java"
comment_problem_desc = true
comment_leading = "//"
test = true

This was working great but when I decided I wanted to specify another language I ran the following command:

$ leetcode edit 1 -l javascript

Which would result in the following config:

[code]
editor = "cat"
lang = "javascript"

after running the command the tool successfully creates a new leetcode question to edit with the specified config options but on the next run this is not the case. When the lang option is updated it seems to be overwriting the rest of the code options. I wish I could be of more use but I currently can't read rust code. However this file might be related to the issue: edit.rs.

platform

  • OS: macOS Sequoia 15.4.1
  • Shell: zsh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /