Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>SharePoint SnippetsNew to Visual Studio Code? Get it now.
SharePoint Snippets

SharePoint Snippets

Memphis335

|
21,429 installs
| (1) | Free
Simple extension that provide ajax snippets for use in SharePoint with the REST API
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Ajax-Snippets

It can take a lot of time to rewrite this snippets every time you develop something in SharePoint, so I set out to make this quick and easy for any SharePoint Developer!

Usage

After installation you can just type SP where you want the snippet, intellisense will show you all four options. Just press tab or enter to insert onto page.

Features

This extension provide snippets for the following :

1. Update list item

Update

2. Create list item

POST

3. Delete list item

DELETE

4. Get list item/s

GET

Note: basic knowledge of the REST API is needed.

Requirements

Some of the snippets use jQuery to get the Digest Value. Remember to include jQuery on your page or replace the line with 

document.getElementById('__REQUESTDIGEST').value

Release Notes

1.0.0

Initial release of this extension

License

Licensed under MIT


For more information

  • Please let me know if you feel that I have missed something ll.marx@hotmail.com

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft