profile
viewpoint

foambubble/foam 7754

A personal knowledge management and sharing system for VSCode

riccardoferretti/heroku.py 0

Heroku API wrapper for Python.

riccardoferretti/vscode 0

Visual Studio Code

push eventfoambubble/foam

Jonathan Ingall

commit sha 19afc73c1a8a4ef30fdd810d7c5539931a611de1

Start new template command

view details

push time in a day

issue commentfoambubble/foam

["BUG"] No foam commands working with v0.6

Just in case other Linux users find this via Google:

If you use Code OSS or VSCodium you won't see the new versions of the Foam extension because they're not using the Microsoft Marketplace anymore by default. Instead, they use OpenVSX. The extension on OpenVSX is not updated at the moment. From what I can tell it's also not clear whether it will be a reliable update channel in the future.

To switch back to the Microsoft Marketplace, follow instructions on SO.

fmagin

comment created time in a day

issue commentfoambubble/foam

'Command 'Foam: Show graph' resulted in an error (command 'foam-vscode.show-graph' not found)'

So even the nodes with file names don't appear?

Is there a sample repo that I could take a look at?

Alekhine51

comment created time in a day

issue commentfoambubble/foam

'Command 'Foam: Show graph' resulted in an error (command 'foam-vscode.show-graph' not found)'

Updated. It now shows a new window, but no actual graph is displayed.

Alekhine51

comment created time in 2 days

issue commentfoambubble/foam

'Command 'Foam: Show graph' resulted in an error (command 'foam-vscode.show-graph' not found)'

@riccardoferretti How do I manually install the extension?

Alekhine51

comment created time in 2 days

issue commentfoambubble/foam

Can't generate wikilinks

The references do generate for me, maybe this bug is something related to windows?

The link [[ebl-parameters]] seem to not link for me on Github (maybe because of spaces in the leading folder?)

[//begin]: # "Autogenerated link references for markdown compatibility"
[Low reflective index decrement]: Diamond_grating/low-reflective-index-decrement "Low Reflective Index Decrement"
[sputter]: Diamond_grating/sputter "Sputter"
[fib]: Diamond_grating/fib "FIB"
[ebl]: Diamond_grating/ebl "EBL Setup"
[chromium and oxgen plasma]: Diamond_grating/chromium-and-oxgen-plasma "chromium-and-oxgen-plasma"
[ebl parameters]: EBL & FIB/ebl-parameters "Ebl Parameters "
[hard-mask-diamond]: Diamond_grating/hard-mask-diamond "Hard Mask Diamond"
[icp-rie]: Diamond_grating/icp-rie "ICP-RIE"
[tapered structure]: Diamond_grating/tapered-structure "Tapered Structure"
[fluctuation_of_shot_to_shot]: FELs/fluctuation_of_shot_to_shot "Shot-to-shot fluctuations"
[behavior_of_seed_electron]: FELs/behavior_of_seed_electron "Behavior of seed electron"
[transmissive-spectrometer-design]: SpctrometerDesing/transmissive-spectrometer-design "Transmissive Spectrometer Design"
[//end]: # "Autogenerated link references"
zzan1

comment created time in 2 days

issue commentfoambubble/foam

Can't generate wikilinks

The references do generate for me:

zzan1

comment created time in 2 days

issue commentfoambubble/foam

Can't generate wikilinks

yean, it worked yesterday, but today, it is broken. And I push the newest version. are you comfortable to check it.

zzan1

comment created time in 2 days

issue commentfoambubble/foam

Can't generate wikilinks

Is https://github.com/zzan1/FoamNoteLib.git the right repo to inspect in this case? I just took a look at that and it seems like the references generate for me, even though there are other bugs in the references generation.

zzan1

comment created time in 2 days

issue commentfoambubble/foam

Can't generate wikilinks

  1. the filesystem is: image
zzan1

comment created time in 2 days

issue commentfoambubble/foam

Can't generate wikilinks

I am assuming that these references with underscores [[sample_note]] are actually sample-note.md in the filesystem? This is where the mismatch occurs, because the file has to be sample_note.md because that's the right slug conversion of [[sample_note]], or it has to be referenced like [[sample note]] or [[Sample Note]] or [[sample-note]].

zzan1

comment created time in 2 days

issue commentfoambubble/foam

Consider integrating Toast UI Editor (WYSIWYG and MUCH more) into Foam

@nixsee: Can you share the setup you finally ended up with? I'm currently jumping around between beautiful-editing with Typora (WYSIWYM) and creating the necessary foam links afterwards within VSCode.

nixsee

comment created time in 2 days

issue openedfoambubble/foam

Can't generate wikilinks

<!-- Check in the VSCode extension tab. -->

  • Foam version: 0.7.2

Summary <!-- A clear and concise description of what the bug is.-->

image

cant generate wikilinks as picture. I have tried the command foam: update markdown reference list. No debug massage founded in VScode.

Steps to reproduce 1. 2.

Does this issue occur on the foam template repo? Yes/No Yes Additional information <!-- Add any other context about the problem here. --> Feel free to attach a screenshot and/or include a zip with a minimal repo to reproduce the issue

created time in 2 days

issue commentfoambubble/foam

["BUG"] "Show Graph" command produced a black background without nodes

@riccardoferretti This morning I tried to back to version 0.6.0, and I found the "Show Graph" command runs normally, and the link references will be created by foam automatically. image

ysl970629

comment created time in 2 days

issue commentfoambubble/foam

GitLab Support

@SaundersB did it work?

SaundersB

comment created time in 3 days

issue openedfoambubble/foam

'Command 'Foam: Show graph' resulted in an error (command 'foam-vscode.show-graph' not found)'

<!-- Check in the VSCode extension tab. -->

  • Foam version: 0.60

Summary <!-- A clear and concise description of what the bug is.--> Displaying a graph with Foam returns the error message in the title. I realize the codebase is at 7.2 as of today, so I don't know if this has been fixed or not. Steps to reproduce

  1. Install Foam using Foam-template
  2. Enter command 'Foam: Show graph'

Does this issue occur on the foam template repo? Yes

Additional information <!-- Add any other context about the problem here. --> Feel free to attach a screenshot and/or include a zip with a minimal repo to reproduce the issue

created time in 3 days

issue commentfoambubble/foam

Add flags that turns node into another color in the graph

Cool! Where should I start looking at the code if I want to contribute?

TommasoBendinelli

comment created time in 3 days

issue openedfoambubble/foam

Add flags that turns node into another color in the graph

It would be beneficial if the node's graph can have different colors depending on the flags/tags set in the markdown item. For instance, if I tag with "RED FLAG," a bubble should appear red in the graph as well.

created time in 3 days

issue commentfoambubble/foam

["BUG"] "Show Graph" command produced a black background without nodes

@zcysxy Hello, if you want to print logs, please follow these steps :

  1. Add these words in yourWorkspaceFolder/.vscode/setting.json :
"foam.logging.level": "debug",
  1. press `ctrl+`` to open “OUTPUT” area.
  2. reload VSCode and paste the contents in “OPTPUT” area here.
ysl970629

comment created time in 3 days

issue commentfoambubble/foam

["BUG"] "Show Graph" command produced a black background without nodes

@riccardoferretti Where is the log 😅, sorry I'm not a developer haha. Now the situation for me is the graph shows up again, but the node (and connected nodes) for a file only shows in the graph after I re-save it.

And yes, my workspace's path contains a special symbol "&".

And since my files' names have many symbols, spaces and capital letters in them, and I'm using lots of piped links as well as heading links like [[page#heading]], so maybe my log file will barely help 😅.

ysl970629

comment created time in 3 days

issue commentfoambubble/foam

["BUG"] "Show Graph" command produced a black background without nodes

Sent from my Huawei phone-------- Original message --------From: ‪‪‪Benjamin Lawrence‬‬‬ benjaminmuinga001@gmail.comDate: Sat, Nov 28, 2020, 5:34 PMTo: foambubble/foam reply@reply.github.com, Riccardo notifications@github.com, foambubble/foam foam@noreply.github.comCc: Subscribed subscribed@noreply.github.comSubject: Re:[foambubble/foam] ["BUG"] "Show Graph" command produced a black background without nodes (#378)Sent from my Huawei phone-------- Original message --------From: Riccardo notifications@github.comDate: Fri, Nov 27, 2020, 12:44 PMTo: foambubble/foam foam@noreply.github.comCc: Subscribed subscribed@noreply.github.comSubject: Re: [foambubble/foam] ["BUG"] "Show Graph" command produced a black background without nodes (#378)

regular links, and I use relative path :

This will be supported in Foam soon and is tracked in #299

I can't open wikilinks without references in preview mode

That would be expected because of the way the preview currently work (basically it uses definitions to navigate links, it doesn't find one, so you can't navigate) In 0.7.1 (which will go out today) there will be more logging, which can help us debug this issue more easily.

—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.

ysl970629

comment created time in 3 days

issue commentfoambubble/foam

["BUG"] "Show Graph" command produced a black background without nodes

Sent from my Huawei phone-------- Original message --------From: Riccardo notifications@github.comDate: Fri, Nov 27, 2020, 12:44 PMTo: foambubble/foam foam@noreply.github.comCc: Subscribed subscribed@noreply.github.comSubject: Re: [foambubble/foam] ["BUG"] "Show Graph" command produced a black background without nodes (#378)

regular links, and I use relative path :

This will be supported in Foam soon and is tracked in #299

I can't open wikilinks without references in preview mode

That would be expected because of the way the preview currently work (basically it uses definitions to navigate links, it doesn't find one, so you can't navigate) In 0.7.1 (which will go out today) there will be more logging, which can help us debug this issue more easily.

—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.

ysl970629

comment created time in 3 days

issue commentfoambubble/foam

["BUG"] "Show Graph" command produced a black background without nodes

Sent from my Huawei phone-------- Original message --------From: Riccardo notifications@github.comDate: Fri, Nov 27, 2020, 12:44 PMTo: foambubble/foam foam@noreply.github.comCc: Subscribed subscribed@noreply.github.comSubject: Re: [foambubble/foam] ["BUG"] "Show Graph" command produced a black background without nodes (#378)

regular links, and I use relative path :

This will be supported in Foam soon and is tracked in #299

I can't open wikilinks without references in preview mode

That would be expected because of the way the preview currently work (basically it uses definitions to navigate links, it doesn't find one, so you can't navigate) In 0.7.1 (which will go out today) there will be more logging, which can help us debug this issue more easily.

—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.

ysl970629

comment created time in 3 days

Pull request review commentfoambubble/foam

WIP: Fix wikilinks slug querying

 export class NoteGraph implements NoteGraphAPI {     // prettier-ignore     const filterFn =       query == null ? (note: Note | null) => note != null-        : 'slug' in query ? (note: Note | null) => note?.slug === query.slug+        : 'slug' in query ? (note: Note | null) => [nameToSlug(query.slug), query.slug].includes(note?.slug as string)

Yes it definitely works with my notes, which all have filenames like "javascript-execution.md" and referenced as [[Javascript Execution]], this is uniform throughout.

Any other cases you want me to check?

SanketDG

comment created time in 3 days

issue commentfoambubble/foam

["BUG"] "Show Graph" command produced a black background without nodes

In windows, file path format like this (please pay attention to the backslash) : image

And I once opened a related issue for another vscode plugin several days ago, this may help you : https://github.com/mathiassoeholm/markdown-link-updater/issues/1

ysl970629

comment created time in 3 days

issue commentfoambubble/foam

["BUG"] "Show Graph" command produced a black background without nodes

Yes, my repository came from foam-template. Just now I used git clone to download a new foam-template and I got same result : image

Foam Logging: debug
[info - 下午6:34:53] Starting Foam
[debug - 下午6:34:53] Glob patterns
{
  "includeGlobs": [
    "c:\\Users\\YSL\\Desktop\\foam-template/**/*\\.(md|mdx|markdown)"
  ],
  "ignoreGlobs": [
    "c:\\Users\\YSL\\Desktop\\foam-template/**/.vscode/**/*",
    "c:\\Users\\YSL\\Desktop\\foam-template/**/_layouts/**/*",
    "c:\\Users\\YSL\\Desktop\\foam-template/**/_site/**/*",
    "c:\\Users\\YSL\\Desktop\\foam-template/**/node_modules/**/*"
  ]
}
[info - 下午6:34:53] Loaded 0 notes
ysl970629

comment created time in 3 days

issue closedfoambubble/foam

Create note from template - template name not accepting!

Hi, I started using Foam from yesterday and I really love it so far ❤️ .

I watned to try out the template feature for daily notes, which will include a link to an index file. I created a .foam/templates directory and inside it, added a daily.md and a code.md file which contains some markdown I plan to use as a template. However, I am confused on how exactly to use this template.

When I try: create new Note from template command, I am getting an empty prompt in which no matter whatever content I enter, I am not able to go to the next one, image

P.S. I tried entering daily.md itself and when enter key is pressed, I am not able to go to the next one.

When escape is pressed, then it asks for the path and file names, but then it results in the following error in the end once the names are entered: image

Affected package <!-- Its ok if you don't know! -->

  • [ ] foam-cli
  • [ ] foam-core
  • [x] foam-vscode
  • [ ] other/meta/???

To Reproduce <!-- Steps to reproduce the behavior:

  1. Eneter command: Foam: Create new note from template'
  2. Enter template name
  3. Try to go to the next prompt
  4. error: not working -->

Expected behavior When the template name is entered, it should take the user to the next prompt <!-- A clear and concise description of what you expected to happen. -->

Screenshots <!-- If applicable, add screenshots to help explain your problem. -->

Additional context <!-- Add any other context about the problem here. -->

I am not sure if this is a bug, or if I am missing something here. 🤔 Any advice would be really appreciated. Also, great thanks for putting together this wonderful software. 😍

closed time in 3 days

aldrinjenson

issue commentfoambubble/foam

Create note from template - template name not accepting!

@ingalless , Yes!!, It just fixed my issue. It was so silly of me to not notice this this typo! I'm closing this issue rn. Thank you and sorry for the trouble.

aldrinjenson

comment created time in 3 days

issue commentfoambubble/foam

["BUG"] "Show Graph" command produced a black background without nodes

I set log.level to debug, and reload vscode, then I got this infomation in output area :

Foam Logging: debug
[info - 上午9:35:16] Starting Foam
[debug - 上午9:35:16] Glob patterns
{
  "includeGlobs": [
    "f:\\20-foam_document/**/*\\.(md|mdx|markdown)"
  ],
  "ignoreGlobs": [
    "f:\\20-foam_document/**/.vscode/**/*",
    "f:\\20-foam_document/**/_layouts/**/*",
    "f:\\20-foam_document/**/_site/**/*",
    "f:\\20-foam_document/**/node_modules/**/*"
  ]
}
[info - 上午9:35:17] Loaded 0 notes

But in fact there are many files in my workspace folder... image

ysl970629

comment created time in 3 days

push eventfoambubble/foam

Jonathan Carter

commit sha 865bb957456ae3509f580e3120637de9be0bd57d

Updating the GistPad documentation (#379)

view details

push time in 3 days

more