Commit Graph

1295 Commits

Author SHA1 Message Date
Riccardo
df3cd90ce7 Fix #1536 - add support for emoji variants in tags (#1549) 2025-11-07 17:10:45 +01:00
Riccardo
0af6c4de15 Fix #1422 - Added include patterns for Foam notes (#1550)
Implement `foam.files.include` configuration to allow users to specify which files/directories Foam should include.
Also migrating `foam.files.ignore` to `foam.files.exclude`

Fixes #1422
2025-11-07 17:09:52 +01:00
Riccardo Ferretti
3d49146087 Fixed test 2025-11-07 15:52:18 +01:00
allcontributors[bot]
8cb2246278 add meestahp as a contributor for code (#1547)
* update docs/index.md [skip ci]

* update readme.md [skip ci]

* update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-11-07 12:24:50 +01:00
meestahp
72890d33cb Graph: Added option to show graph on startup (#1542) 2025-11-07 12:24:11 +01:00
Riccardo
70b11a921a Fix #1545 - don't treat text in single brackets as links/placeholders if missing a ref (#1546) 2025-11-06 18:59:39 +01:00
Riccardo Ferretti
f457b14ec0 Fix #1400 - load graph in code server 2025-11-06 17:13:55 +01:00
Riccardo Ferretti
bbb4801486 Minor tweak in graph panel creation 2025-10-29 17:31:51 +01:00
Riccardo Ferretti
80b1537324 v0.29.0 v0.29.0 2025-10-29 17:21:41 +01:00
Riccardo Ferretti
007315c3a1 lint 2025-10-29 17:21:23 +01:00
Riccardo Ferretti
ec1750d5a6 Preparation for release 2025-10-29 17:19:22 +01:00
Riccardo Ferretti
5480c65a48 Fix #1540 - reuse existing graph panel if present 2025-10-29 17:15:37 +01:00
Riccardo
7afa286ea5 Improved support for link references (#1531)
* Support for links with references

* wikilink also use references

* Removed [[//begin]] and [[//end]] definitions from code and documentation
2025-10-29 16:38:18 +01:00
Riccardo Ferretti
4a7c2d9de2 Fixed links in documentation 2025-10-16 16:53:08 +02:00
Riccardo Ferretti
1f6b2abce2 improved update-docs script 2025-10-16 16:27:24 +02:00
mxxun
5f017ee4ea Unsanitize characters permissible in Windows paths (#1533) 2025-10-16 12:10:42 +02:00
CT Hall
61032668be Added FOAM_DATE_WEEK_YEAR template variable (#1532)
* Updated resolver to include FOAM_DATE_WEEK_YEAR
* Updated docs
2025-10-16 12:09:43 +02:00
Riccardo
9192cefc7c Improved tag search (fix #1516) (#1530) 2025-10-03 16:40:21 +02:00
Riccardo Ferretti
2f966276b5 v0.28.3 v0.28.3 2025-10-03 13:24:00 +02:00
Riccardo Ferretti
145970a6cb Preparation for release 2025-10-03 13:23:39 +02:00
Riccardo
54a6ffdf01 Change sanitized characters to support Windows paths (#1529)
Fixed #1526
2025-10-03 13:21:08 +02:00
Riccardo
40740db416 Add Link Conversion Commands and Auto-Convert on Completion (#1525)
* Added setting to automatically convert wikilinks into md links on insertion/completion
* Improved Position mock and added mock for `extensions` namespace

Fixes #1464
2025-10-02 10:48:47 +02:00
Riccardo Ferretti
145653ec85 Reintroduced minification option 2025-10-01 17:55:52 +02:00
Riccardo Ferretti
503b486179 v0.28.2 v0.28.2 2025-10-01 16:01:26 +02:00
Riccardo Ferretti
a36d39acf8 Preparation for release 2025-10-01 16:00:49 +02:00
Riccardo Ferretti
fb92790a0a Define global in web extension build (fixes #1523) 2025-10-01 15:58:35 +02:00
Riccardo Ferretti
dcb951004a test:unit task now includes mock-friendly .spec.ts tests 2025-09-25 23:38:20 +02:00
Riccardo Ferretti
3b5906a1cf v0.28.1 v0.28.1 2025-09-25 23:32:29 +02:00
Riccardo Ferretti
dc541dea2a Preparation for next release 2025-09-25 23:32:10 +02:00
Riccardo Ferretti
eb908cb689 added test instructions to CLAUDE 2025-09-25 23:27:57 +02:00
Riccardo
967ff18d8d Sanitize filepath in template before note creation (#1520)
fixes #1216
2025-09-25 17:42:44 +02:00
Riccardo
89298b9652 Use identifier case to further disambiguate notes (#1519)
Fixes #1303
2025-09-25 17:29:42 +02:00
Tenormis
e1694f298b Remove duplicate links between nodes (#1511)
Co-authored-by: tenormis <tenormis@mars.com>
2025-09-25 13:02:24 +02:00
allcontributors[bot]
61961f0c1d add ChThH as a contributor for code (#1515)
* update docs/index.md [skip ci]

* update readme.md [skip ci]

* update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-09-24 12:30:44 +02:00
Riccardo Ferretti
2822bfaa9e v0.28.0 v0.28.0 2025-09-24 12:01:10 +02:00
Riccardo Ferretti
9af4e814ac Preparation for next release 2025-09-24 12:00:49 +02:00
Riccardo Ferretti
f8f2ecbec8 Make Claude more objective 2025-09-24 11:52:04 +02:00
Riccardo
6d4db373bf #1328 Add support for wikilink image styling/sizing properties and title support in md image link (#1514)
* Support for image embed parameters (e.g. ![[img.png|300|center]])

Resolves #1328

Examples:

![[image.png]]              // Original
![[image.png|300]]          // Width only → 300px
![[image.png|50%]]          // Percentage → responsive
![[image.png|300x200]]      // Width × height
![[image.png|20em]]         // With units
![[image.png|300|center]]   // With alignment
![[image.png|300|Alt text]] // With alt text

* Documentation for image styling

* Add support for title in image links (#1262)

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-24 11:50:59 +02:00
Riccardo Ferretti
9149546445 Added documentation guidelines to CLAUDE 2025-09-24 10:15:28 +02:00
Riccardo
4893d55ed3 Added support for tag refactoring (#1513)
* Implemented tag rename command, and renaming via F2 and tree view
* Support for nested tag refactoring
2025-09-23 15:18:09 +02:00
CT Hall
53caa94013 update variable-resolver.ts FOAM_DATE_DAY_ISO (#1512) 2025-09-23 11:43:06 +02:00
Riccardo
eda46ac006 Implements tag navigation and peek functionality (#893) (#1510)
Tag Peek References:
- Users can now peek all references of a tag

Enhanced Tag Search:
- Created new "Foam: Search Tag" ('foam-vscode.search-tag') command for workspace tag search
- Added inline search action button that appears on hover over tag items in tag explorer
- Clicking search icon triggers VS Code's search panel with tag query

FoamTags to use Location instead of URIs
2025-09-17 23:11:02 +02:00
Riccardo Ferretti
37837a314d Add workspace symbol provider for note aliases
Implements support for searching note aliases using VS Code's "Go To Symbol in Workspace" command (Ctrl+T/Cmd+T).
Resolves #1461

- Complements VS Code's built-in markdown symbol support (doesn't add symbols for sections)
- On-the-fly computation without caching for simplicity (will review if performance becomes an issue)
- Subsequence query matching following VS Code recommendations
2025-09-17 16:38:47 +02:00
Riccardo Ferretti
fc084c736e v0.27.7 v0.27.7 2025-09-17 12:23:26 +02:00
Riccardo Ferretti
ca5229f557 Added .agent/tasks to gitignore 2025-09-17 12:22:53 +02:00
Riccardo Ferretti
f96282828c Preparation for next release 2025-09-17 12:22:01 +02:00
Riccardo
c863586cd0 Fix #1505 - root-path relative links opening new notes instead of existing files (#1509)
Resolves #1505
When using root-path relative links (e.g., `[text](/path/file.md)`),
Ctrl+clicking would create new notes instead of opening existing files.
This was caused by the markdown provider treating workspace-relative
paths as filesystem absolute paths.

**Changes:**
- Enhanced MarkdownResourceProvider to accept workspace roots context
- Updated link resolution logic to handle workspace-relative paths correctly
- Modified extension initialization to pass VS Code workspace folders
- Enhanced createTestWorkspace() utility to support workspace roots testing

**Behavior:**
- Links starting with `/` now resolve against workspace roots first
- Falls back to existing absolute path behavior when no workspace roots
- Supports multiple workspace scenarios and fragments
- Maintains full backward compatibility
2025-09-17 12:11:35 +02:00
Riccardo
a6c0cc603f Add FOAM_DATE_DAY_ISO template variable for ISO weekday number (1-7, Monday=1)
- Adds FOAM_DATE_DAY_ISO to variable resolver
- Adds dedicated and integrated tests for FOAM_DATE_DAY_ISO
- Updates documentation to describe FOAM_DATE_DAY_ISO usage and behavior
2025-09-15 14:28:31 +00:00
Riccardo Ferretti
8ed2d17793 v0.27.6 v0.27.6 2025-09-13 16:08:56 +02:00
Riccardo Ferretti
08aae069fe Prepare release 2025-09-13 16:08:28 +02:00