8000 GitHub - cmrazek/DkTools: Visual Studio Extension for WBDK
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cmrazek/DkTools

Repository files navigation

DkTools

Visual Studio Extension for WBDK

Features:

  • Syntax highlighting
  • Go to / peek references
  • Quick-info on mouse hover
  • Find all references
  • Statement completion
  • Function signature help
  • Automatic brace completion
  • Code folding
  • Brace matching
  • WBDK compiler
  • WBDK file / dictionary explorer
  • Static code analysis

Change Log

Version 1.6.10 Changes:

  • Fixed bug in code analysis reporting CA0016 (unreachable code) after a for/while loop with a return statement in it.
  • Re-enabled the Comment Selection command in the text editor.
  • Fixed definitions from include files not refreshing if the include path contains '..'
  • Stopped code analysis errors when assigning a value to/from a variant.
  • Stopped code analysis errors for uninitialized interface types.
  • Added support for table$column and table$$column.
  • Fixed enum value not getting detected properly when used with an array.
  • Removed code snippets. (haven't worked for a long time and nobody complained)
  • Add support for onerror.
  • Fix incorrect implicit columns on many-to-many relationships.
  • Added many AFS table methods/properties.
  • Add support for global AFS methods.
  • Add support for methods and properties on interface types.
  • Added many missing built-in variant functions.
  • Fixed code analysis issues when a switch statement has case-bodies wrapper in braces { }.
  • Fixed keyboard shortcut for goto next/previous reference commands (Ctrl+Alt+[/])

Version 1.6.9 Changes:

  • Added code analysis support for the new 'like' operator.
  • Removed length restriction on create file dialog.
  • Add a command/tool bar button to manually run FEC for errors. (to avoid DK compile data getting corrupted by auto-running multiple times)

Version 1.6.8 Changes:

  • Code analysis on switch statements with enums no longer consider the code branch 'covered' if all enum options are present (but no default). There could be an invalid value in the variable.
  • Fixed incorrect code analysis highlighting on ternary statements.
  • Implemented new navigation bar above code editor. The standard bar disappears in recent versions of VS.
  • Added support for 'distinct' and 'top' keywords in select statements.
  • Code analysis now detects when a funtion is being called with the wrong number of arguments.
  • Fixed various dict parsing issues with newly introduced definitions.

Version 1.6.7 Changes:

  • Fixed problem with code analysis warnings when calling widthof() with an uninitialized variable.
  • Added support for using constants with #warndel and #warnadd.
  • Fixed infinite loop in code analysis 'in' operator parsing.
  • Fixed deadlock when running a task that interrupts another task in progress.
  • Code analysis warnings that have an empty span will now show the squiggle on the entire line.
  • Fixed code analysis not detecting a variable as 'used' when it's on the left of a ternary statement.
  • Fixed Find All References reporting duplicates for items accessibly globally and in the current file.

Version 1.6.6 Changes:

  • Added support for the new 'in' operator.
  • Added #SQLWhereClauseCompatibleAttribute and #SQLResultsFilteringAttribute for statement completion.
  • Fixed a bug in select statement where calling a function could break parsing of the rest of the statement.

Version 1.6.5 Changes:

  • Added filterby keyword for select statements.
  • Refactored the code that gathers errors/warnings from FEC and code analysis. This should work better with WBDK 10.
  • Fixed a bug where commas between columns in a create relationship statement would not parse correctly.
  • Using NOINPUT in dictionary will no longer break the table parsing.

Version 1.6.4 Changes:

  • Fixed a bug in modeling of 'create time relationship' statements which would cause them to consume more of the source than necessary.

Version 1.6.3 Changes:

  • Function calls to deprecated functions now trigger a code analysis error (CA0120 - suppress with #warndel 990120)
    A function is marked deprecated if the description text contains the word "deprecated".
  • Conditional (aka ternary) statements now trigger a code analysis error if they aren't wrapped in brackets.
  • Fixed bug where table/function names would sometimes be confused for enum values.

Version 1.6.2 Changes:

  • Optimizations for quicker smart indenting and signature help.
  • Typing a closing '}' will now fix up indenting on the statements inside the scope.

Version 1.6.1 Changes:

  • Reduced the number of operations that can cause a code model rebuild, improving typing performance.
  • No longer report code analysis errors when a valid enum value is used as a string.
  • Create File dialog now shows the length of your file name.
  • Statement completion for #include will no longer commit when a '.' is typed.
  • Insert Tag can now format a file header comment if it can detect it from the line below.

Version 1.5.20 Changes:

  • Fixed a bug where extern functions referenced in a class would be associated with that class, causing a discrepancy in Find All References.

Version 1.5.19 Changes:

  • Fixed bug where changing the ACM app in DK Explorer wouldn't update the registry.
  • Fixed FEC errors/warnings not always being refreshed when a file is saved.

Version 1.5.18 Changes:

  • Replaced the old Run form with a new tab in DK Explorer.
  • Code analysis will now limit the number of warnings it reports, to cope with scenarios where there are thousands of warnings.
  • Fixed a bug where files created via DK Explorer could not be found via the file filter until the next refresh.
  • Using Go To Definition on a class method that exists in both cc and sc will now take you to the correct server context, when known.

Version 1.5.17 Changes:

  • The code modeler/analysis processes will now cancel themselves if you start typing again. This should improve responsiveness.
  • Class methods now only shown in statement completion after typing the class name.

Version 1.5.16 Changes:

  • Class names are no longer forced to lowercase.
  • Background scanning database is 'shrunk' less often, improving performance when saving a file.
  • Fixed statement completion on class method arguments.

Version 1.5.15 Changes:

  • FEC and FEC to Visual C commands will no longer error out when the file is not within a source path.
  • Renamed 'app data' folder to DkTools (finally).
  • Code Analysis will now only report "Unreachable code" once per code path.
  • Now recognizes localization for .t files. (merges .t+, .t& files)

Version 1.5.14 Changes:

  • Removed dependencies on WBDK DLLs.
  • Fixed automatic brace completion when pressing enter after '{', and enabled for single-quotes.

Version 1.5.13 Changes:

  • Added automatic brace completion (can be turned off in options).
  • Fixed Peek Definitions not showing in later version of Visual Studio.
  • Brace highlighting will now select only one set of braces at a time.
  • Background scanning has been completely rewritten, improving speed and reliability.
  • Added code analysis for enum option usage.

About

Visual Studio Extension for WBDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0