Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.57k stars 573 forks source link

Goto editor: doesn't work with forward slashes and line number together #2455

Open natapov opened 2 years ago

natapov commented 2 years ago

Versions

ConEmu build: 220418 x64 OS version: Windows 10.0.19044.1706 x64 Used shell version: cmd

Problem description

These work: C:\file.txt C:\file.txt:3 C:/file.txt

But this doesn't work: C:/file.txt:3

There's a URL open failed popup: "The system cannot find the file specified"

Steps to reproduce

  1. Choose a text editor you have installed in the "Highlight" settings.
  2. Place a text file in some folder
  3. Type "echo C:/file.txt:3" in ConEmu
  4. Ctrl-click on the link to the file

Actual results

Popup indicating system can't find the file

Expected results

Open the file in the desired line.