Author Topic: vsmktags working?  (Read 2304 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • 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

  • Senior Community Member
  • Posts: 3960
  • Hero Points: 517
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: 2620
  • Hero Points: 210
  • 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

  • Senior Community Member
  • Posts: 3960
  • Hero Points: 517
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

  • Senior Community Member
  • Posts: 3960
  • Hero Points: 517
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

  • Senior Community Member
  • Posts: 3960
  • Hero Points: 517
Re: vsmktags working?
« Reply #5 on: September 15, 2016, 12:09:51 AM »
Fixed in rc2.