EffortFlow for VS Code
Log your time and check your timesheet without leaving the editor.
You need an EffortFlow account where you are a consultant or a project owner. The extension works with your own time only, on the projects you already have. Your workspace's plan decides what you can do, exactly as in the web app.
Get started
- Open EffortFlow in your browser and go to Settings > Access tokens. Create a token and copy it. It is shown once.
- In VS Code, run EffortFlow: Connect (Ctrl+Shift+P) and paste the token.
- If your company runs EffortFlow on its own address, set
effortflow.serverUrl first.
The EffortFlow icon in the activity bar opens your day, timesheet, projects, work items, milestones and notifications.
What you can do
Log time
- Log time asks for a project, an optional work item, an activity and how long. Type
1.5h, 2h30, 90m, or clock times like 09:00-11:30. It warns, but does not stop you, if clock times overlap another entry.
- Start timer and Stop timer and log keep one timer running, shown in the status bar. It is the same timer as in the web app.
- Copy previous day's entries to today repeats a recent day, as durations.
- If your git branch names a work item (
feature/4822-login, AB#4822, PROJ-123), it is offered first.
- With no connection, Log time saves the entry on your computer and sends it when EffortFlow is reachable.
See your time
- Today lists today's entries by project, with day, week and month totals. Change or delete an entry from there. Entries in a month that is already submitted show a lock, because they can no longer change.
- Timesheet shows the month by week and day.
- Projects shows this month's hours and each month's state.
- Work items and Milestones show hours logged against the estimate for the project you chose in the status bar.
- Notifications shows month submitted, approved or disputed, and similar. Click one to open it in EffortFlow.
Reminders
- In the last two days of a month, a reminder if you have time on a month that is still open.
Settings
| Setting |
Default |
What it does |
effortflow.serverUrl |
https://effortflow.net |
Your EffortFlow address |
effortflow.suggestFromGit |
on |
Offer the work item named by your git branch |
effortflow.monthEndReminder |
on |
Remind me at the end of the month |
What it never does
- It shows hours and month states only. It never shows or stores rates, caps, currencies or amounts.
- Your token is kept in VS Code's secret storage, not in settings or files. EffortFlow: Sign out removes it from VS Code. To stop a token everywhere, revoke it under Settings > Access tokens.
- The rules stay on the EffortFlow server. A locked month, a closed project or a plan limit is refused there, and the extension tells you why.
Privacy
- The extension talks only to your EffortFlow server. It has no analytics or telemetry.
- It sends your token, the time you log or change, and the searches you type. The git suggestion sends only the number or key found in your branch name, never the branch, your code or your files.
- On your computer it keeps your token (in the system keychain), your last project and activity per workspace, a copy of your project and activity lists, and entries not yet sent. Sign out clears them.
The full statement is in PRIVACY.md, shipped inside the extension.
Trouble
- "Connect again with a new token": the token expired (90 days by default) or was revoked. Create a new one.
- "read-only": the token was created with read access. Create one that can log time.
- Nothing in Work items or Milestones: choose a project with the status bar item first.
Develop
npm install
npm run build # bundle to dist/extension.js
npm run typecheck
npm run lint
npm test # unit tests of the pure modules
npm run test:smoke # starts a real VS Code and checks activation
npm run package # builds effortflow-<version>.vsix
Press F5 in VS Code to launch an Extension Development Host. src/api/ is the typed client for EffortFlow's /api/v1; logic lives in pure modules with tests in src/__tests__/, and src/extension.ts only wires it up.
| |