Skip to content

elixiao/vscode-file-uploader

Repository files navigation

File Uploader README

A VSCode plugin for uploading project files to any HTTP server!

Upload Files by Context Menu

Only three steps:

  1. set user/workspace configuration
  2. select files or folders
  3. right click and choose [Upload Files] menu

File Uploader

Upload Files by CodeLens

CodeLens show up when lines starts with var FileUploader :

▶ Upload Files

var FileUploader = {
  apiEndpoint: "http://localhost:7001/upload",
  httpHeaders: {
    authorization: "Bearer eyJhbGciOi...",
  },
  fileField: "file",
  formData: {
    name: "keliq",
    age: 12,
    hobbies: ["music", "coding"],
  },
};

Upload File by CodeLens