Skip to content

Releases: Wumpf/IncludeToolbox

v2.1.5

31 Aug 09:08
Compare
Choose a tag to compare
  • Fixed random timeouts in Trial and Error Include Removal
  • Updated internal library references & used VS Extension toolkit

v2.1

31 Aug 09:08
Compare
Choose a tag to compare

DGML graph saving feature improvements

  • Each nodes has information about child count and unique transitive child counts
  • Option to color elements by transitive child count
  • Option to group by folders, expanded or collapsed
  • Messageprompt after graph is saved, allows to open in VS directly

Other fixes and small improvements

  • Renamed "Try and Error Include Removal" to "Trial and Error Include Removal" (thx to steronydh for reporting)
  • Include sorting treats other preprocessor directives as barrier over which includes can't be moved (thx to etiennehebert for reporting)
  • Pressing enter on item in Include Graph jumps to include (previously only double click)
  • Fixed Include Graph not displaying graph when switching active file while graph is computed

v2.0.1

31 Aug 09:06
Compare
Choose a tag to compare
  • Fixed bug that BlankAfterRegexGroupMatch option would only work if RemoveEmptyLines was active as well.
  • Fixed crash in formatter if delimiter mode not "Unchanged" + "Remove Empty Lines" was false. (thx to etiennehebert for reporting)
  • Include Graph folder items end now in slashes.

v2.0

31 Aug 09:05
Compare
Choose a tag to compare

Rewrote Include Graph ("Include Viewer" previously)

  • New, improved UI
  • Allows to display includes grouped by folder
  • Much faster graph bulid up using by direct parsing (as alternative to compile with /showIncludes)
  • Double click can navigate to include site
  • Graph can be saved as DGML file

Trial-and-Error-Include-Removal "Ignore List" option does now support "$(currentFilename)" macro

  • Default setting include "(/|\\|^)$(currentFilename).(h|hpp|hxx|inl|c|cpp|cxx)$" to ignore corresponding header file in removal

v1.8

02 Apr 11:14
Compare
Choose a tag to compare

Include-what-you-use (iwyu):

  • Iwyu.exe is no longer part of the package. Instead there is a automatic download and update from a different repository on first use. (See https://github.com/Wumpf/iwyu_for_vs_includetoolbox)
  • iwyu.exe path can be configured by user
  • In case of automatic download, mapping files in iwyu path will be added to configuration
  • Fixed hardcoded defines being passed to iwyu
  • MSVC version is correctly passed to iwyu
  • Fixed issues with applying removal/addition of declarations
  • Changes can now optionally run through IncludeFormatter (on by default)

Formatter:

  • Include parser recognizes all whitespace-only lines as empty
  • No longer resolves includes via file local path if "Ignore File Relative" option is active
  • Formatting applied to includes inside preprocessor conditionals again. (Still ignored for include removal though)
  • Fixed incorrect include parse behavior for preceding /* */ comment.
  • Fixed potential crashes in internal path resolve

Other:

  • New Icons!
  • Safer against crashes in commands
  • Codebase has now a handful of unit tests

v1.7

25 Mar 18:17
Compare
Choose a tag to compare
  • .inl and _inl.h are by default ignored for try-and-error-include-removal (configurable)
  • New option for try-and-error-include-removal to keep line breaks (off by default)
  • Contribution by Adam Skoglund!: Another fix for folder handling in try-and-error-include-removal