Author Topic: vsmktags working?  (Read 832 times)

jporkkahtc

  • Senior Community Member
  • Posts: 1759
  • Hero Points: 172
  • Text
vsmktags working?
« on: September 13, 2016, 06:00:55 pm »
I tried this to rebuild the tagfile for a workspace.
It runs, opens 2 windows briefly (looks like its window plus a big slick window), closes the window and a few seconds later it quits.
The workspace tag file is not created.




Does it respect the env-var SLICKEDITCONFIG?


Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2713
  • Hero Points: 413
Re: vsmktags working?
« Reply #1 on: September 13, 2016, 11:27:33 pm »
I'd have to check about SLICKEDITCONFIG.  I believe it does, however, it will not write anything to your config directory.  It also supports -sc <config> like 'vs'.

Curious that it opened two windows, that would indicate to me that you may have been running an older version of vsmktags (something perhaps on your PATH?)

What arguments did you give it?  If you run it without any arguments, you'll get a usage message.



jporkkahtc

  • Senior Community Member
  • Posts: 1759
  • Hero Points: 172
  • Text
Re: vsmktags working?
« Reply #2 on: September 13, 2016, 11:45:15 pm »
I checked to make sure I was running RC1
vsmktags -sc %SLICKEDITCONFIG% -retag C:\src\sdk4\sdkv21.vpw

I tried a different workspace (from a vs2015 solution), and it worked.
I'd bet it is because most of my workspaces have tagfiledir defined like
TagFileDir="\Users\joe\Documents\SlickEdit\TagFiles\%WN\%WX"


Yeah, I just verified --- I copied the VPW, then removed the TagFileDir setting.

I still get the two windows though.

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2713
  • Hero Points: 413
Re: vsmktags working?
« Reply #3 on: September 14, 2016, 03:32:04 pm »
I'll check into it.  It should only show the tagging progress dialog, but the editor may have gotten focus if there was an error.

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2713
  • Hero Points: 413
Re: vsmktags working?
« Reply #4 on: September 14, 2016, 08:42:43 pm »
I'll put in a hot-fix after the final release.  Good catch on the workspace tag file directory.  That was the source of the problem.
« Last Edit: September 14, 2016, 08:44:33 pm by Dennis »

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2713
  • Hero Points: 413
Re: vsmktags working?
« Reply #5 on: September 15, 2016, 12:09:51 am »
Fixed in rc2.