energy-state-analyzer 0.15.3 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- last_commit_released: 98c73c11364c3abe5c7e52ffb5c2288ed7f4815d
2
+ last_commit_released: 0da9a473c2dafc34fc94df424a3bca7015855b33
3
3
  name: energy-state-analyzer
4
4
  updaters:
5
5
  - command: npm version {version} --no-git-tag-version --allow-same-version
@@ -11,6 +11,14 @@ All notable changes to the "energy-state-analyzer" extension are generated by
11
11
  [EasyBuild.ShipIt](https://github.com/easybuild-org/EasyBuild.ShipIt) from
12
12
  [Conventional Commits](https://www.conventionalcommits.org/).
13
13
 
14
+ ## 0.16.0 - 2026-09-11
15
+
16
+ ### 🚀 Features
17
+
18
+ * Add C# analysis support (#125) ([0da9a47](https://github.com/cardamomcode/energy-state-analyzer/commit/0da9a473c2dafc34fc94df424a3bca7015855b33))
19
+
20
+ <strong><small>[View changes on Github](https://github.com/cardamomcode/energy-state-analyzer/compare/98c73c11364c3abe5c7e52ffb5c2288ed7f4815d..0da9a473c2dafc34fc94df424a3bca7015855b33)</small></strong>
21
+
14
22
  ## 0.15.3 - 2026-09-11
15
23
 
16
24
  ### 🐞 Bug Fixes
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # Energy State Analyzer
2
2
 
3
- Visualizes "energy states" in Python, F#, TypeScript, Kotlin, and C++ code as you edit: parts of a file that are complex, deeply nested, or otherwise harder to understand and maintain get highlighted with colored gutter icons, inline decorations, and entries in the Problems panel.
3
+ Visualizes "energy states" in Python, F#, TypeScript, Kotlin, C++, and C# code as you edit: parts of a file that are complex, deeply nested, or otherwise harder to understand and maintain get highlighted with colored gutter icons, inline decorations, and entries in the Problems panel.
4
4
 
5
5
  ![Energy State Analyzer screenshot](https://raw.githubusercontent.com/cardamomcode/energy-state-analyzer/99f806f/images/energy-state-analyzer.png)
6
6
 
7
7
  ## Features
8
8
 
9
- Real-time analysis of the active Python, F#, TypeScript, Kotlin, or C++ file, re-run on every edit and on editor focus change, via these detectors (see [docs/detectors](docs/detectors/README.md) for full detail on each):
9
+ Real-time analysis of the active Python, F#, TypeScript, Kotlin, C++, or C# file, re-run on every edit and on editor focus change, via these detectors (see [docs/detectors](docs/detectors/README.md) for full detail on each):
10
10
 
11
11
  - [Cyclomatic complexity](docs/detectors/cyclomatic-complexity.md), too many independent execution paths.
12
12
  - [Cognitive complexity](docs/detectors/cognitive-complexity.md), too hard to read due to nesting.
@@ -39,14 +39,14 @@ The name is a deliberate analogy to thermodynamics: a function's "energy" is its
39
39
  The same detectors also run headlessly, without VS Code, useful for CI or for an AI coding agent that wants to check the complexity of code it just generated and keep refactoring until it's clean:
40
40
 
41
41
  ```bash
42
- npx energy-state-analyzer path/to/file.py # or .fs / .fsx / .ts / .kt / .cpp / .hpp
42
+ npx energy-state-analyzer path/to/file.py # or .fs / .fsx / .ts / .kt / .cpp / .cs
43
43
  ```
44
44
 
45
45
  See [docs/cli.md](docs/cli.md) for scanning a whole repo, aggregated markdown/JSON/human reports, and diffing a PR against a base branch.
46
46
 
47
47
  ## Requirements
48
48
 
49
- The extension activates automatically when you open a Python, F#, TypeScript, Kotlin, or C++ file; it bundles its own grammars for parsing (via `web-tree-sitter`), so no compiler or external parser is required. F# files only get a `fsharp` language ID (and so trigger analysis) if you have an F# language extension installed (e.g. [Ionide](https://ionide.io/)), VS Code otherwise treats `.fs` files as plain text. The CLI recognizes the full VS Code C++ suffix set, including compound template suffixes such as `.hpp.in`; see [Command-Line Usage](docs/cli.md#supported-file-suffixes).
49
+ The extension activates automatically when you open a Python, F#, TypeScript, Kotlin, C++, or C# file; it bundles its own grammars for parsing (via `web-tree-sitter`), so no compiler or external parser is required. F# files only get a `fsharp` language ID (and so trigger analysis) if you have an F# language extension installed (e.g. [Ionide](https://ionide.io/)), VS Code otherwise treats `.fs` files as plain text. The CLI recognizes the full VS Code C++ suffix set, including compound template suffixes such as `.hpp.in`; see [Command-Line Usage](docs/cli.md#supported-file-suffixes).
50
50
 
51
51
  ## Development
52
52