Skip to content

Latest commit

 

History

History
105 lines (69 loc) · 3.87 KB

CHANGELOG.md

File metadata and controls

105 lines (69 loc) · 3.87 KB

Change Log

[0.0.18]

  • Fixed issue with iwyu.diagnostics.only_re setting default (needs to be "").
  • Improved error handling for bad iwyu.compile_commands settings.

[0.0.17]

  • Updated dependencies due to detected vulnerabilities.

[0.0.16]

  • Updated iwyu.compile_commands so that if it is set to the default auto, then the extension will try:
    • ${workspaceFolder}/compile_commands.json,
    • ${workspaceFolder}/build/compile_commands.json,
    • ${fileWorkspaceFolder}/compile_commands.json, and
    • ${fileWorkspaceFolder}/build/compile_commands.json.
  • Added rudimentary support for ${fileWorkspaceFolder} in iwyu.compile_commands settings.

[0.0.15]

  • Fixed #2. When the compile_commands.json file cannot be found the extension would not be able to initialize.
  • Fixed and issue with the actual setting name for the compile_commands.json file. The correct setting name is iwyu.compile_commands as documented.
  • Renamed settings iwyu.diagnostics to iwyu.diagnostics.unused_includes.

[0.0.14]

  • Fixed include guard trigger.
  • Refactored most extension code to use class Extension.

[0.0.13]

Bad release!

[0.0.12]

  • Updated README.md.

[0.0.11]

  • Changed to only check iwyu.diagnostics.include_guard once per file.
  • Fixed lookup of setting iwyu.diagnostics.include_guard.
  • Provided a direct link for diagnostics to the documentation.

[0.0.10]

  • Disabled include guard checks by default. Seeting iwyu.diagnostics.include_guard to ".

[0.0.9]

  • Added support for include guard detection and correction.
  • Added new settings:
    • iwyu.diagnostics.include_guard_files: `Regular expression for files that should be checked for include guards."
    • iwyu.diagnostics.include_guard: If this is non empty, then include guards are checked. The relative filename is denoted as '${file}' (as-is) or '${FILE}' (uppercase) , so in order to require include guards that end in a '_ thi must be set to '${file}_'.

[0.0.8]

  • Fixed settings default for iwyu.iwyu.keep.
  • Changed default for iwyu.diagnostics.iwyu_interval to 5 (seconds).

[0.0.7]

  • Added new command Include What You Use (all targets). See README.md for details.

[0.0.6]

  • Added new config settings:
    • iwyu.diagnostics.full_line_squiggles: Whether to underline the whole line with squiggles or only the actual include part. The error is technically only on the actual include (from # to eiter > or second ") but tools commonly underline the whole line and the fix script will also remove the whole line.
    • Use LogOutputChannel instead of OutputChannel for better log output control.
    • Also removed setting iwyu.debug.

[0.0.5]

  • Fixed per file IWYU data handling.
  • Improved header processing:
    • Rename iwyu.fix.safe to iwyu.fix.safe_headers to match the actual argument name.
    • Change iwyu.fix.safe_headers to default to false, so that the tool works for headers by default.
    • Provide --basedir to fix_includes.py invocation to explicitly apply fixes only to the selected file.
    • Change iwyu.fix.comments to default to false.
    • Add iwyu.fix.dry_run config for additional debugging.
    • Add iwyu.fix.update_comments to go along with iwyu.fix.comments.

[0.0.4]

  • Sped up diagnostics by limiting how often iwyu is run and apply heuristics to early skip source scanning.
  • Added new config settings:
    • iwyu.diagnostics.iwyu_interval: Minimum interval time in seconds between iwyu calls.
    • iwyu.diagnostics.only_re: Only compute diagnostics for files that match this regexp.
    • iwyu.diagnostics.scan_min: Scan at least this many lines, if no include is found, then stop.
    • iwyu.diagnostics.scan_more: After finding an include, scan at least this many more lines.

[0.0.3]

  • Added diagnostic support.
  • Added quickfix support.

[0.0.2]

  • Fixed image link.

[0.0.1]

  • Initial release.