Filemaker syntax and snippets for Visual Studio Code. https://github.com/jwillinghalpern/filemaker-vscode-bundle
Snippets, autocompletion, and syntax highlighting for FileMaker calculations.
The best way to install is via the VSCode extension marketplace. Search Filemaker VSCode
in the extensions tab within VSCode and click "install".
But if you want to install manually from this repo, see Alternative Installation.
Original syntax and snippets were ported from Donovan Chandler's textmate bundle, which was itself forked from Matt Petrowsky's repo.
Carson Lind created the icon artwork.
- Make sure you have NodeJS and npm installed: https://nodejs.org/en/
- Install vsce globally:
npm install -g vsce
- Make sure git is installed: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
- MacOS hint: just run this in terminal and you'll be prompted to install:
git --version
- MacOS hint: just run this in terminal and you'll be prompted to install:
- Fork the GitHub repo.
- Clone your fork to your local machine:
- In terminal,
cd
to the preferred directory. - Clone:
git clone <the URL from the "Code" button on github>
- In terminal,
- Open the project folder in VSCode to edit.
- When ready to test:
- Open the integrated terminal in VSCode and run
vsce package
to create a package with a name like "filemaker-vscode-x.x.x.vsix" - Install your test package like
code --install-extension filemaker-vscode-x.x.x.vsix
- shift-command-p to open the command pallete and search for/run "Developer: Reload Window(s)"
- Now test your extension in VSCode. Rinse, repeat until it works how you want.
- Open the integrated terminal in VSCode and run
- When ready, commit your changes and push them to your own fork on github.
git add .
git commit -m "message describing your change"
git push
- Submit a pull request to my repo so I can try them out and pull them in and publish!
- This extension does not validate FileMaker calculations. I've learned recently that FileMaker has the most insane parsing rules ever.
- Some Windows users have reported having to reboot their computer before the extension works, but only do this if needed.
(not recommended)
- Copy this whole unzipped folder (filemaker-vscode-bundle-master) into the
<user home folder>/.vscode/extensions
folder.- An easy way to find this extensions folder is by opening the Command Palette (⇧⌘P) in VSCode, and searching for "Extensions: Open Extensions Folder".
- If on Mac and you cannot see the
.vscode
folder in Finder, pressCommand + Shift + Period
to show hidden folders. You can press this again to hide.
- Restart VSCode or run
Developer: Reload Window
from the Command Palette. - Create a new document in VSCode and select
FileMaker
from the language selector at the bottom right.- Saving your file with a
.fmfn
, or.calc
extension will automatically change the language to FileMaker.
- Saving your file with a
For more info, read vsc-extension-quickstart.md