Author Topic: Intermittent command line invocation issue  (Read 353 times)

Wanderer

  • Community Member
  • Posts: 557
  • Hero Points: 23
Intermittent command line invocation issue
« on: June 12, 2012, 04:12:15 PM »
SlickEdit 2012 (v17.0.0.8 64-bit)
Build Date: June 07, 2012
Emulation: Vim
OS: Windows 7 x64
OS Version: 6.01.7601  Service Pack 1
Project Type: No project open
Language: .cs

UPDATE: I just opened a VisStudio project, double-clicked on the .cs file in the project, and it was loaded as type Text (confirmed on the Document menu).

I launch SlickEdit from the VS2010/VS2012 Tools menu:
Quote
Command: C:\Program Files\SlickEditV17.0.0 x64\win\vs.exe
Arguments: $(ItemPath) "-#goto-line $(CurLine)"" ""-#goto-col $(CurCol)"

(See attached image)
- Editing a .cs file in VisStudio
- Tools->SlickEdit File
- SlickEdit starts, file is loaded, but the Document menu shows the file is treated as "text".  I have seen this happen when SlickEdit is already running, too.
« Last Edit: June 13, 2012, 03:08:32 PM by Wanderer »

Wanderer

  • Community Member
  • Posts: 557
  • Hero Points: 23
Re: Intermittent command line invocation issue
« Reply #1 on: June 27, 2012, 04:51:33 PM »
SlickEdit 2012 (v17.0.0.8 64-bit)
Build Date: June 07, 2012
Emulation: Vim
OS: Windows 7 x64 OS Version: 6.01.7601  Service Pack 1
Project Type: No project open

- SlickEdit is running, no project open, no files open.
- From a cmd shell, I run:
"C:\program files\SlickeditV17.0.0 x64\win\vs.exe" c:\temp\jnk.txt
- SlickEdit is brought to the foreground, but the file is not opened.

This is an intermittent problem - no idea what the preconditions are, but it happens more often than not when I try to open a file in SlickEdit from a cmd shell.


Wanderer

  • Community Member
  • Posts: 557
  • Hero Points: 23
Re: Intermittent command line invocation issue
« Reply #2 on: June 29, 2012, 02:10:07 PM »
I give up.
I have reset my config file (vs.exe -sc c:\temp, copied resulting c:\temp\17.0.0.0 dir to "C:\Users\Charles\Documents\My SlickEdit Config\17.0.0.0").

I opened "c:\temp\jnk.config". 
- Document->Select Mode, XML, "Would you like to map all files with the extension '.config' to 'XML'?"  Click  'Yes'.
Close all files.  Close SlickEdit.

In the command shell:
vs.exe c:\temp\jnk.config c:\temp\jnk1.config

Both files are opened as Plain Text.
It seems the .config->XML mapping isn't being saved.