All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- (ADDED) Date string hover
- (ADDED) Semantic token processing
- (IMPROVED) Replaced inefficient regex-based parsing with Ohm.js based parser
- (CHANGED) moved all processing to LSP server side. Client now calls server via an API
- (ADDED) Code completion options for PDF names when
/
is pressed (from Arlington PDF Model) - (FIXED) Support for new (unsaved) PDF/FDF files
- (ADDED) Custom commands to import images as new Image XObjects with
/ASCII85Decode
//ASCIIHexDecode
on raw pixels - (ADDED) Custom commands to import images as new Image XObjects with
/ASCII85Decode
//ASCIIHexDecode
on JPEGs (/DCTDecode
) - (ADDED) Custom commands to import binary data as a new stream object with
/ASCII85Decode
//ASCIIHexDecode
filters - (ADDED) Custom commands to convert between
/ASCII85Decode
//ASCIIHexDecode
and uncompressed data - (ADDED) Custom commands to convert between PDF literal and hex strings
- (ADDED) Custom command to convert 1 or more selected non-stream objects to a single PDF 1.5 object stream
- (ADDED) Custom command to conventional cross reference table, trailer, etc. to a cross reference stream
- (ADDED) Editor context submenu "PDF" with above commands
- (ADDED) Status bar item showing selected lines
- (ADDED) Outline tree view and breadcrumbs, based on simple marker-based parser (NOT a full PDF parser as this fails during editing)
- (IMPROVED) Hover hints for cross-reference table entries
- (ADDED) Hover hints for
endstream
andendobj
keywords - (ADDED) Hover hints for key names which are bitmasks (
/F
,/Ff
,/Flags
) - (ADDED) Hover hints for hex strings
- (ADDED) "Go to" functionality now supports PDFs with incremental updates and potentially multiple objects with the same object ID
- (IMPROVED, FIXED and ADDED) Additional validation checks of conventional cross reference tables to Problem panel.
- (ADDED) Hover hints for cross-reference table entries
- (IMPROVED) bracket matching for dictionaries (
<<
,>>
), arrays ([
,]
), and PostScript brackets ({
/}
). - (IMPROVED) auto-indent and auto-outdent for dictionaries (
<<
,>>
), arrays ([
,]
), hex strings (<
/>
) and PostScript brackets ({
/}
). - (ADDED) auto-complete and auto-closing for dictionaries (
<<
,>>
), arrays ([
,]
), literal strings ((
/)
), hex strings (<
/>
) and PostScript brackets ({
/}
). - (ADDED) LSP semantic token processor used by "go to" functionality to ensure correct token is located
- (IMPROVED) TextMate grammar updates for syntax highlighting for PDFs with binary data
- (IMPROVED) Folding support for objects, streams, conventional cross-reference tables and paired content stream operators
- (ADDED and FIXED) Additional validation checks of conventional cross reference tables
- (ADDED) Distinguish handling of FDF and PDF for validation checks and snippets
- (FIXED) Visual quality of icons (relevant to FDF) and made PNG backgrounds transparent
- (ADDED) Added badges to the README
- (ADDED) Additional validation checks of conventional cross reference tables
- Code and packaging tidy-up
- Update and improve this changelog
- (FIXED) Fix packaging of server for "Go to" functionality
- Initial release via Marketplace: https://marketplace.visualstudio.com/items?itemName=pdfassociation.pdf-cos-syntax
- Initial pre-release for feedback.