visual c++ - Tweaking NppAutoIndent, or is there a good customizable alternative? -


i started using nppautoindent plugin notepad++, , have been pleased smart indent mode, find lack of customizable preferences annoying there few behaviors in smart indent mode i'd tweak/modify. thought modifying plugin's source code , recompiling try behavior want, have visual studio 2010 , the project plugin seems vs 2003 project, , i'm complete beginner using visual studio c/c++ projects don't know start deal of warnings given when converting project vs 2010.

in short: there more customizable alternative nppautoindent plugin, or there better way update source project vs 2010?

update:

here of warnings. lot of them seem unimportant, i'm not sure may necessary pay attention to.

  • due change in exception handling switches c/c++ compiler, /ehsc has been automatically converted /eha in project.
  • done converting new project file 'c:[...]\nppautoindent\project\nppautoindent.vcxproj'.
  • due requirement visual c++ projects produce embedded (by default) windows sxs manifest, manifest files in project automatically built manifest tool. may need change build in order work correctly. instance, recommended dependency information contained in manifest files converted "#pragma comment(linker,"")" in header file included source code. if project embeds manifest in rt_manifest resource section through resource (.rc) file, line may need commented out before project build correctly.
  • due conformance change in c++ compiler, code change may required before project build without errors. previous versions of c++ compiler allowed specification of member function pointers member function name (e.g. memberfunctionname). c++ standard requires qualified name use of address-of operator (e.g. &classname::memberfunctionname). if project contains forms or controls used in windows forms designer, may have change code in initializecomponent because designer generated code used non-conformant syntax in delegate construction (used in event handlers).
  • this application has been updated include settings related user account control (uac) feature of windows vista. default, when run on windows vista uac enabled, application marked run same privileges process launched it. marking disables application running virtualization. can change uac related settings property pages of project.
  • attribute 'detect64bitportabilityproblems' of 'vcclcompilertool' not supported in version , has been removed during conversion.
  • vcwebserviceproxygeneratortool no longer supported. tool has been removed project settings.
  • the c/c++ compiler switch /og has been deprecated , has been removed project settings. recommended use /o1 or /o2 instead.
  • vcconvertengine not convert attribute globaloptimizations = true under tool vcclcompilertool.
  • attribute 'detect64bitportabilityproblems' of 'vcclcompilertool' not supported in version , has been removed during conversion.
  • attribute 'optimizeforwindows98' of 'vclinkertool' not supported in version , has been removed during conversion.
  • vcconvertengine not convert attribute globaloptimizations = true under tool vcclcompilertool.
  • attribute 'detect64bitportabilityproblems' of 'vcclcompilertool' not supported in version , has been removed during conversion.
  • attribute 'optimizeforwindows98' of 'vclinkertool' not supported in version , has been removed during conversion.
  • attribute 'detect64bitportabilityproblems' of 'vcclcompilertool' not supported in version , has been removed during conversion.
  • msb8012: $(targetname) ('nppautoindent') not match linker's outputfile property value '..\build\nppautoindenta_d.dll' ('nppautoindenta_d') in project configuration 'debug|win32'. may cause project build incorrectly. correct this, please make sure $(targetname) property value matches value specified in %(link.outputfile).
  • msb8012: $(targetpath) ('c:[...]\nppautoindent\project..\build\debug\nppautoindent.dll') not match linker's outputfile property value '..\build\nppautoindenta_d.dll' ('c:[...]\nppautoindent\build\nppautoindenta_d.dll') in project configuration 'debug|win32'. may cause project build incorrectly. correct this, please make sure $(targetpath) property value matches value specified in %(link.outputfile).
  • msb8012: $(targetname) ('nppautoindent') not match linker's outputfile property value '..\build\nppautoindenta.dll' ('nppautoindenta') in project configuration 'release|win32'. may cause project build incorrectly. correct this, please make sure $(targetname) property value matches value specified in %(link.outputfile).
  • msb8012: $(targetpath) ('c:[...]\nppautoindent\project..\build\release\nppautoindent.dll') not match linker's outputfile property value '..\build\nppautoindenta.dll' ('c:[...]\nppautoindent\build\nppautoindenta.dll') in project configuration 'release|win32'. may cause project build incorrectly. correct this, please make sure $(targetpath) property value matches value specified in %(link.outputfile).
  • msb8012: $(targetpath) ('c:[...]\nppautoindent\project..\build\release unicode\nppautoindent.dll') not match linker's outputfile property value '..\build\nppautoindent.dll' ('c:[...]\nppautoindent\build\nppautoindent.dll') in project configuration 'release unicode|win32'. may cause project build incorrectly. correct this, please make sure $(targetpath) property value matches value specified in %(link.outputfile).
  • msb8012: $(targetname) ('nppautoindent') not match linker's outputfile property value '..\build\nppautoindent_d.dll' ('nppautoindent_d') in project configuration 'debug unicode|win32'. may cause project build incorrectly. correct this, please make sure $(targetname) property value matches value specified in %(link.outputfile).
  • msb8012: $(targetpath) ('c:[...]\nppautoindent\project..\build\debug unicode\nppautoindent.dll') not match linker's outputfile property value '..\build\nppautoindent_d.dll' ('c:[...]\nppautoindent\build\nppautoindent_d.dll') in project configuration 'debug unicode|win32'. may cause project build incorrectly. correct this, please make sure $(targetpath) property value matches value specified in %(link.outputfile).

open vs 2003 project in vs2010 ; dialog shall walk through conversion. need read instructions , click appropriate button .

regarding indentation, go tools ---> options , choose language (c++ ) , go formatting. can see bunch of options there , change according needs .

you dont need notepad++ @ . btw , avid user of notepad++ , , favourite editor.

hope helps.


Comments