Menu

Subversion for npp

2005-11-24
2012-11-14
  • Nobody/Anonymous

    Is there a plugin with supports subversion for notepad++ ???

     
    • Nobody/Anonymous

      Hello,

      I use the following shortcut.xml for npp (3.5) to manage my files with TortoiseSVN:

      <NotepadPlus>
          <Macros>
              <Macro name="Trim Trailing &amp; save" Ctrl="no" Alt="yes" Shift="yes" Key="83">
                  <Action type="1" message="2170" wParam="0" lParam="0" sParam=" " />
                  <Action type="1" message="2170" wParam="0" lParam="0" sParam=" " />
                  <Action type="1" message="2170" wParam="0" lParam="0" sParam=" " />
                  <Action type="0" message="2327" wParam="0" lParam="0" sParam="" />
                  <Action type="0" message="2327" wParam="0" lParam="0" sParam="" />
                  <Action type="2" message="0" wParam="42024" lParam="0" sParam="" />
                  <Action type="2" message="0" wParam="41006" lParam="0" sParam="" />
              </Macro>
          </Macros>
          <UserDefinedCommands>
              <Command name="lanch in Firefox" Ctrl="yes" Alt="yes" Shift="yes" Key="88">firefox &quot;$(FULL_CURRENT_PATH)&quot;</Command>
              <Command name="lanch in IE" Ctrl="yes" Alt="yes" Shift="yes" Key="73">iexplore &quot;$(FULL_CURRENT_PATH)&quot;</Command>
              <Command name="SVN Commit" Ctrl="yes" Alt="no" Shift="no" Key="83">TortoiseProc.exe /command:commit /path:&quot;$(FULL_CURRENT_PATH)&quot; /logmsg:&quot;test log message&quot; /notempfile </Command>
              <Command name="SVN Update" Ctrl="yes" Alt="no" Shift="no" Key="85">TortoiseProc.exe /command:update /path:&quot;$(FULL_CURRENT_PATH)&quot; /logmsg:&quot;test log message&quot; /notempfile /rev</Command>
              <Command name="SVN Lock" Ctrl="yes" Alt="no" Shift="no" Key="83">TortoiseProc.exe /command:lock /path:&quot;$(FULL_CURRENT_PATH)&quot; /logmsg:&quot;test log message&quot; /notempfile </Command>
              <Command name="SVN Unlock" Ctrl="yes" Alt="no" Shift="no" Key="78">TortoiseProc.exe /command:unlock /path:&quot;$(FULL_CURRENT_PATH)&quot; /logmsg:&quot;test log message&quot; /notempfile </Command>
          </UserDefinedCommands>
      </NotepadPlus>

      In the helpfile of TortoiseSVN you can find a lot of more commandline commands.

      Kind regards,
      Bernd.

       
      • Nobody/Anonymous

        Where I can find Key numbers?
        For expample: "83" is "S", "85" is "U", etc...

         
        • Greg Bullock

          Greg Bullock - 2007-04-18

          TextFX: TextFX Tools: Insert ASCII Chart or Character

          Regards.
          Greg

           
      • Nobody/Anonymous

        what?  Sorry for appearing thick but I can't see where this file exists in 3.8.  has it gone?

         
        • Nobody/Anonymous

          Check %AppData%

           
    • AlcidesFonseca

      AlcidesFonseca - 2007-04-14

      CharMap or Google Ascii Table.

       
    • Nobody/Anonymous

      Look for in your application data directory. In mine it was shortcuts.xml

       
    • Nobody/Anonymous

      Hi, I just added those lines but... it's supposed the c:\program files\tortoisesvn\bin directory should be in the PATH?

      Then, a link should appear at the "Run" option menu?

      Thanks in advance