leetcode-editor icon indicating copy to clipboard operation
leetcode-editor copied to clipboard

对 LCP/LCR 题目名称转换不符合预期

Open maooyer opened this issue 2 years ago • 0 comments

Describe the bug LCP/LCR 类型题目的 titleSlug 是随机字符串,首字母可能是大写,在转换为 SnakeCaseName 时出现首字母前加下划线,导致无法本地编译测试。希望调整首字母不做转换 image

To Reproduce Steps to reproduce the behavior:

Software versions(Help -> About)

  • Product: GoLand 2023.2.1
  • Runtime version: 17.0.8+7-b1000.8 aarch64
  • VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
  • OS: macOS 14.0

Question(Optional)

  • URL: https://leetcode.cn/problems/WHnhjV/description/
  • Format Code:
    $!velocityTool.leftPadZeros($!{question.frontendQuestionId},4)-${question.titleSlug}/$!velocityTool.snakeCaseName(${question.titleSlug})
    

maooyer avatar Sep 15 '23 02:09 maooyer