Skip to content

Releases: intel/Edk2Code

v1.1.1

28 Mar 20:58
Compare
Choose a tag to compare
  • Added support to handle VsCode workspaces and create .edk2code folder outside them.
  • Improved conditional logic parsing for DSC and FDF files
  • Added error messages for conditional logic in DSC and FDF files

Full Changelog: v1.1.0...v1.1.1

v1.1.0

07 Feb 22:55
Compare
Choose a tag to compare

New features

Module map

You can right click on a compiled INF file and select EDK2: Show Module Map

module-map-context-menu

This will open the EDK2 submenu showing the libraries and source files that were used to compile that INF.

module-map

This feature is helpful in visualizing how a module includes various libraries. It also provides insights into how C files within the module include header files. By understanding these relationships, developers can better manage dependencies.

Error Detection

The DSC analysis can identify potential issues within the DSC files, such incorrect paths, duplicated libraries, etc. These issues are highlighted and shown in the Visual Studio Code "Problems" window.

55e73504-3e8b-4b58-a9fa-5fc64a89614f

You can disable this using the edk2code.enableDiagnostics setting

Edk2Code_1.0.8

16 Dec 22:49
Compare
Choose a tag to compare

What's Changed

Enhancements

  • JSON Configuration & Syntax:
    • Added new keyword pairs: warningif, inconsistentif, disableif, nosubmitif to edk2_vfr.conf.json and edk2_vfr.tmLanguage.json for improved syntax highlighting and language support. 🆕✨

Bug Fixes

  • Typographical Errors:
    • Corrected misspelled words: seeting to setting and Generationg to Generating. 📝🛠️
    • Fixed a typo in the message: "c_cpp_properties.json points to wrong compile_commands.json". 📝🔧

Features

  • New Commands:
    • Introduced edk2code.copyTreeData command to copy tree data to clipboard in a formatted string. 📋🌳
  • Clangd Support:
    • Added support for Clang compile commands in the workspace configuration. 🛠️🔧
      • Automatically updates clangd configuration with the correct --compile-commands-dir argument if vscode-clangd extension is installed. 🆕🔄

Code Quality

  • Refactoring & Cleanup:
    • Improved code readability by trimming redundant spaces and unifying function behavior. 🧼🛠️
    • Renamed edksymbol.ts to edkSymbols.ts for consistency. 📂🗂️

New Contributors

Full Changelog: Edk2Code_1.0.7...Edk2Code_1.0.8

Edk2Code_1.0.7

28 Mar 01:57
Compare
Choose a tag to compare

Version 1.0.7 🚀

New Features 🌟

  • Introduced DiagnosticManager for managing diagnostics within the extension. This includes a comprehensive list of diagnostic codes and descriptions for various errors and warnings that can occur during the parsing and analysis of EDK2 code. 🛠️
  • Added support for reading and writing the cscope.files using the Cscope class, enhancing the handling of file paths and improving compatibility with different operating systems. 📁
  • Implemented a new method for handling conditional statements within the EDK2 workspace, providing more accurate processing and error reporting. 🔍
  • Enhanced the library and module parsing capabilities to include better path resolution and error handling, ensuring that missing paths and other common issues are correctly identified and reported. 📚

Improvements ✨

  • Updated the handling of cscope.files to use arrays and improved file path manipulation, making the generation of cscope files more robust and error-resistant. 🔄
  • Improved the configuration and management of diagnostic reports, allowing for more precise and informative error and warning messages. 📊
  • Enhanced the user interface messages and added new wiki links for better user guidance and support. 💡

Bug Fixes 🐛

  • Fixed an issue where the .ignore file generation was not correctly excluding files from the EDK2 workspace analysis, leading to more accurate and efficient indexing. 🚫
  • Addressed a bug in the handling of include paths and library paths, ensuring that all paths are correctly parsed and resolved. 🛠️
  • Corrected the regex patterns used for parsing library paths, allowing for a wider range of file extensions to be recognized and processed. 📂

Full Changelog: Edk2Code_1.0.5...Edk2Code_1.0.7

Edk2Code_1.0.5

09 Feb 19:24
Compare
Choose a tag to compare
  • Adding Library tree view command.
  • Added autocompletion for depex blocks in INF files
  • Added setting to overwrite cscope command path

Full Changelog: Edk2Code_1.0.4...Edk2Code_1.0.5

Edk2Code_1.0.4

30 Jan 21:41
Compare
Choose a tag to compare
  • Fixed call Hierarchy logic
  • Modified logic to generate .ignore
  • Fixed condition to take latest DSC changes of main DSC file when graying out text
  • Fixed some variable types
  • Added UNI files on unused task bar

Full Changelog: Edk2Code_1.0.1...Edk2Code_1.0.4

Edk2Code_1.0.1

20 Nov 16:11
Compare
Choose a tag to compare

Bug fixed:

Edk2Code_1.0.0

15 Nov 00:21
Compare
Choose a tag to compare

Mayor refactor to integrate optimizations

  • Created specific .edkfolder for workspace settings.html
  • Created own configuration page for workspace
  • Improved autocomplete on inf files
  • Improved EDK parser methods
  • Removed unused code
  • Added new goto commands

Full Changelog: Edk2Code_0.0.5...Edk2Code_1.0.0

Edk2Code_0.0.5

10 Oct 22:33
Compare
Choose a tag to compare

Fixing patter for buildDefines configuration
Full Changelog: Edk2Code_0.0.4...Edk2Code_0.0.5

Edk2Code_0.0.4

30 Aug 16:21
Compare
Choose a tag to compare
  • Click on status bar now shows help of current actions
  • Just EDK2 files show warnings about not being used in compilation
  • Inactive symbols work with goto definition commands

Full Changelog: Edk2Code_0.0.3...Edk2Code_0.0.4