Skip to main content

File-by-file targeting

Prefer to hand-pick exactly what Artemis works on? File-by-file targeting lets you browse your repository and turn specific files into optimisation targets yourself — no agent required.

Browse the file explorer

The left-hand Files panel lists every file in your repository, mirroring its folder structure. Expand folders to drill into the tree.

Files explorer

In large codebases, use the Search files box at the top of the panel to jump straight to a file by name.

Search files

Add files as targets

Hover over any file in the explorer and click the + (Add target) button that appears next to it. This opens the Select files to target dialog.

Add target from the file explorer

Select files and generate targets

The Select files to target dialog shows your full file tree on the left and a preview of the highlighted file's contents on the right — so you can confirm you're picking the right code before committing to it.

Tick every file you want to target, across any folders, then click Generate targets to add them all to your Targets list in one go.

Select files to target

Accepted file formats

Artemis only extracts targets from source files it can parse. Supported extensions include:

LanguageFile Extensions
C++.cpp, .c, .h, .hpp, .cc, .hh, .cxx, .hxx, .c++, .h++, .cu, .cuh
C.c, .h
Java.java
Python.py
Fortran.f, .for, .f90, .f95, .f03, .f08, .F, .F90
JavaScript.js, .jsx
TypeScript.ts, .tsx
Ruby.rb
PHP.php
C#.cs
Go.go
Swift.swift
Kotlin.kt, .kts
Scala.scala
Rust.rs
Dart.dart
R.r, .R
Lua.lua
Perl.pl, .pm
SQL.sql
Q.q
COBOL.cob, .cbl, .cpy
OCaml.ml
Elixir.ex
Text.txt, .md, .html, .css, .scss, .vue, .xml, .json, .yaml, .yml, .ini, .log, .conf, .cfg, .tsv, .rst, .tex, .bat, .sh, .pl, .toml, .properties, .gradle, .maven, .cmd, .awk, .env, .helm, .tpl, .kubeconfig, .npmrc, .prettierrc, .eslintrc, .babelrc, .terraformrc, .tfvars, .tf, .editorconfig, .gitignore, .gitconfig, .zshrc, .bashrc, .profile, .flake8, .pylintrc, .coveragerc, .drl, .m, .jl, .vba, .bas, .cls, .frm
Unsupported.csv

Next steps

Once your targets appear in the Targets list:

  1. Score your targets to prioritise where to focus
  2. Generate new code versions