Aner in VS Code
Install the editor extension, write source files, and use notebooks with an installed Aner executable.
ImplementedAner 0.1.0 or newerUse VS Code to edit .aner source files and work in .anernb notebooks with code, Markdown, images, and saved results. The Aner extension supplies the editor features; an installed native Aner executable runs your programs.
The official extension is available from the VS Code Marketplace, published by Aner with identifier anerlang.aner-language. Downloads identifies the Marketplace version and any newer reviewed VSIX package available for direct installation. The native runtime is installed separately from Downloads.
See Downloads for native runtime and source availability. The extension has a separate MIT license. This guide describes the current editor; individual features require compatible native and editor versions. Updating the extension does not update the executable. Read release and development status. For terminal first setup, Cursor, Vim and coding agents, see Editors and coding agents.
Build a native source file
Use Aner: Build Native File from the Command Palette, source editor toolbar or Explorer context menu for a saved .aner file in a trusted workspace. The extension saves changes, asks for the executable destination, then invokes the configured aner compiler with literal arguments. It retains generated C++ at OUTPUT.cpp and the JSON build manifest at OUTPUT.build.json for inspection of source, ABI, target and numerical policy identity. Aner: Strict Declarations applies to this check as well. Building does not run the executable or change notebook execution.
The command requires a matching development source build compiler SDK and C++20 toolchain. Downloaded runtime packages do not include a usable native SDK; this action remains source build support. Unsupported source is rejected in the terminal with Aner source locations; the extension does not retry through the interpreter. See native compilation for the supported CPU subset and setup. Compiled parallel tasks explains the matching worker binary, explicit enrollment and output guarantees. The build command starts no worker, and C++20 remains the required language baseline.
Prepare and preflight native SSH workers
Use Aner: Prepare Native SSH Enrollment from the Command Palette while a saved .aner file is selected in a trusted workspace. The source document supplies workspace/runtime selection; saving it does not rebuild an existing binary. Enter each public worker identifier, previously approved SSH alias, native subsystem and CPU budget. The command asks for a new private configuration and retains a sibling .enrollment.json receipt. Optionally prepare a sibling .server-plan.txt for a reviewed fixed Windows executable path. It passes literal arguments to aner parallel native enroll, performs no connection and does not change sshd, accounts, keys, known_hosts or the registry. Enrollment does not mark a host as trusted or a worker as admitted.
Use Aner: Preflight Native SSH Workers to select the approved compiled program, existing private configuration, optional task name, total timeout and a fresh private receipt. The matching program's reserved preflight mode runs before Aner source level statements, sends no scientific parameters and invokes no task callback. It checks all configured workers for identity, registry/CPU admission, C++20/ABI/protocol and exact binary transport, then closes through a preflight acknowledgment. Failed host-key/authentication or worker checks remain failures; there is no relaxed trust retry or task execution fallback.
Both commands require the matching development source build aner, use filesystem dialogs and literal process arguments, recheck workspace trust before launching, and hide command echo containing private worker input. They run only when explicitly invoked. The extension does not persist host inputs or automatically build/run a program after a check. Configuration, plan and receipt destinations must be new; use another filename instead of overwriting evidence. A pass describes that observed program/configuration at that time, not a reservation or authorization for a future run. An arbitrary selected executable is not sandboxed; approve the compiled program and rebuild it when source changes. See native enrollment/preflight for commands, receipt scope and server administration.
Historical compatibility of extension 0.1.48
Extension 0.1.48 was reviewed with Aner 0.0.5. It added model parameter help, controlled Dense dropout, data workflows, NLP and POS/NER templates. Use Downloads for the current VSIX and runtime.
Web VSIX releases and Marketplace uploads are independent. At the 0.1.48 web release on October 28, 2026, the Marketplace listed 0.1.47. Check Downloads and the Marketplace listing for their current versions.
Previous compatibility: extension 0.1.47 with Aner 0.0.4
The reviewed 0.1.47 VSIX adds help for frozen numerical arrays, typed output regions and completed output results, configured CPU cluster inputs, resident results and explicit collection. It also adds recurrent constructor signatures, property completion for math.pi, math.e and math.tau, and notebook observation profiles. Native Aner 0.0.4 supplies the corresponding execution APIs; editor help does not add APIs to an older interpreter.
Version 0.1.47 remains the previous compatible release for Aner 0.0.4. Source diagnostics, charts, map renderers and Run File were already available in earlier releases. The extension and native runtime keep independent version numbers and update processes.
Use the development nativeparallel template for a local typed task and nativecluster for a compiled process worker task. Build first, then enroll copies of that matching executable through an explicit private configuration. Windows native workers use the development process backend; PowerShell invocation, protected ACL setup, POSIX SSH commands and registered native SSH subsystems for remote Windows hosts are documented in the compiled parallel guide. A ssh-subsystem token selects a server enrolled native service; the extension does not edit sshd, credentials or host keys. Linux and Windows execution checks are prepared and deferred. The extension starts no worker during a build and does not install a runtime.
The Windows process boundary is the compiled ANERNATIVE/3 route. Use Build Native File for the nativecluster template and run its compiled program after explicit enrollment. Run File retains interpretation; older interpreter/session, ANERPAR/1 and neural/regression worker protocols are not enabled by this process backend change.
Install the editor extension
- Install the native runtime for your operating system and processor using the installation guide. Open a new terminal and check
aner --version. - Open the Marketplace listing or search VS Code Extensions for
@id:anerlang.aner-language, then install Aner by publisher Aner. - If Downloads offers a newer reviewed VSIX, download it and choose Extensions → … → Install from VSIX….
- Run Developer: Reload Window after installing or updating if VS Code prompts you to reload.
With the code command available, install the Marketplace version using:
code --install-extension anerlang.aner-languageOr install a downloaded local VSIX. Replace the filename with the actual downloaded version:
code --install-extension aner-language-VERSION.vsixThe starter on Downloads recommends the official extension. Open the extracted starter folder with File → Open Folder… so VS Code can read its workspace recommendation. Recommendations respect your settings and ask before installing. If a newer VSIX is available only on the website, use its direct installation instructions.
For remote VS Code sessions, install the matching native executable and workspace extension on the remote machine where execution happens.
Choose the installed executable
Open VS Code's integrated terminal and check:
aner --versionIf that command works and the extension has access to the same PATH, it can find the installed executable. For a predictable installation, open Settings, search for Aner: Executable, and set the full path to your installed aner executable. The setting key is aner.executable.
For example, if this is the actual location of your Linux installation:
{
"aner.executable": "/path/to/aner/bin/aner"
}On macOS, select the executable inside your installed Aner package in the same way. On Windows, select aner.exe; backslashes in JSON are escaped:
{
"aner.executable": "C:\\Users\\you\\Apps\\Aner\\bin\\aner.exe"
}Replace these example paths with your own installation location. The general aner.executable setting takes priority over the legacy notebook only setting and automatic discovery. You can set it for one workspace when different projects use different compatible Aner development builds. After moving or updating an installation, update the path and restart any running notebook session.
Aner file icons
The Aner extension uses the Aner logo as the default language icon for .aner files, with separate assets for light and dark themes. A selected file icon theme can override language defaults or hide file icons; the extension respects that choice.
Write a source program
Open your own project folder with File → Open Folder…, create hello.aner, and save:
let message = "Hello from Aner"
print(message)The language mode in the lower right corner should read Aner. If it does not, click the language mode and choose Aner. A project can also explicitly associate its source files:
{
"files.associations": {
"*.aner": "aner"
}
}From the integrated terminal, with the project folder as the current directory:
aner check hello.aner
aner run hello.anerThe first command checks the file without running it. The second prints Hello from Aner. Errors identify a source location when applicable. The editor's syntax colors do not replace static checking.
Declaration checks
With native Aner 0.0.5 and extension 0.1.48, prefer let for fixed bindings and var for names that will be reassigned. Native warning W1001 suggests let for an explicit var with no syntactic reassignment; it does not block execution. Array or object content mutation does not reassign the binding. The warning does not claim deep immutability or prove execution paths; class fields, implicit legacy declarations and persistent session globals are excluded.
Enable Aner: Strict Declarations to require explicit declarations for both source files and notebook cells:
{
"aner.strictDeclarations": true
}The setting defaults to false. When enabled, the extension passes --strict-declarations to the native executable. let/var create bindings; = updates an existing visible name, and an unknown target produces E1010. Changing this setting cancels active work and clears notebook sessions without running cells. Run defining cells again. Compatible top level let/var reruns remain supported, and persistent globals do not receive W1001 merely because later cells have not run yet.
Native warnings retain warning severity when shown as editor diagnostics and are presented without turning a successful run into an error. These features use the configured native runtime; updating only the extension does not update it. See the full declaration contract.
Create a notebook
Run Aner: New Notebook from the Command Palette. Save it as experiment.anernb inside your project folder. If prompted for a kernel, choose Aner — notebook.
Put this in the first code cell and run it:
var a = 10Put this in a second cell and run it:
a = a + 5
print(a)The second cell prints 15. New notebooks use shared variables, so values, imports, and definitions can remain available between cells. No fn main() is needed. Add Markdown cells for explanations, tables, or images. Choose Run All to execute the code cells in order.
Notebook execution requires a trusted workspace. Only trust a folder when you are comfortable executing its code. Viewing and editing notebooks remain available without trust.
To work through supplied examples, open the folder containing their examples/ directory. Start with shared variables, the concise Iris classifier, or concise object methods. Keep the example files and data paths together.
State, modes, and restart
Use Aner: Use Shared Variables for experiments split across cells. Use Aner: Use Independent Programs when every cell should run as a separate script or complete main program. The mode belongs to the whole notebook and is saved with it; selecting a kernel does not change it.
Changing modes clears live state and never reruns earlier cells. Aner: Restart Notebook Session also clears state. Run the defining cells again before using their values. Restart before changing or rerunning a function or class definition; those definitions cannot currently be replaced within a live session.
Syntax and type errors preserve earlier successful state. An execution error, Stop, timeout, notebook closure, or extension reload clears the session. Stop cancels execution; it is not a debugging pause. Saved notebook outputs may still be visible afterward, but saving or reopening does not restore variables. See notebook behavior and limits for the complete rules.
Development inspection
Production is the default runtime mode. Choose Dev in the notebook toolbar, rerun setup cells, then choose Inspector to see bounded typed globals, named observations, collection/object trees and reference diagrams, and captured loss after a cell completes. This setting is separate from shared variable/independent program execution. Switching Dev/Prod cancels work and clears state; selecting the already active mode keeps the session. Save the notebook to retain its runtime mode metadata.
Use Aner: Open Development Training Report for recorded topology, activations, and available gradients from a completed training cell. A retained training view labels its originating execution as historical; the variable table describes the current completed cell. Source edits mark observations stale, and restart, Stop, timeout, runtime failure, or switching modes invalidates live state. Set aner.notebook.developmentValues for bounded raw tensor/neuron values; it defaults to false.
For a plain source file, run aner FILE.aner --dev NEW_DIRECTORY in the terminal and open inspection.html. Production disables automatic recording; aner FILE.aner --prod makes the default explicit. See the mode guide, the development neural notebook, and the linked list development notebook. These views observe completed executions; streaming during a cell and pause/step debugging remain future work.
Observation cost and recording budgets
In notebook Dev mode, Aner: Notebook Observation Profile selects metrics, inspect or deep. metrics records scalar progress and explicit scalar checkpoints; inspect adds bounded variable/object and tensor metadata without tensor statistics or readback; deep permits tensor statistics and optional raw values. The default is deep; raw tensor values remain separately disabled unless requested.
For example, workspace settings can select bounded metadata inspection:
{
"aner.notebook.observationProfile": "inspect",
"aner.notebook.observationOptions": {
"every": 1,
"preview_items": 8,
"global_bytes": 32768
}
}Frozen arrays are labeled read only in the Inspector. Typed output regions expose bounded metadata without reading writer cells. Resident output results remain metadata only until explicitly collected; inspection does not gather remote shards or change the result.
Changing a profile or its budgets clears affected live Dev sessions without executing code. Rerun setup cells afterward. These controls change observation, not the installed version, numerical model or backend. Prod remains the default and does not export development observations.
Inspect a recorded training report
With an Aner notebook active, click Open training report in its toolbar or a code cell's status bar, or run Aner: Open Training Report from the Command Palette. On first use, select an existing index.html or trace.json from an Aner visual report directory. Both files must remain in that directory. The interactive report opens beside the notebook, with recorded topology, loss chart points, and available tensor values and gradients.
Generate the report first using the native CLI and a new output directory. For the detailed Iris notebook, run this from the folder containing examples/:
aner run examples/neural_iris.aner --debug-viz reports/iris-notebook --debug-valuesThen select reports/iris-notebook/index.html or trace.json. Open training report remembers the association for this notebook in the workspace and reuses it later. Run Aner: Choose Training Report to select another report. The association is not stored in the notebook file.
Opening a report does not execute cells, generate captures, or display live session variables. Its observations are historical, and the extension does not verify that the selected report matches the notebook's current source. After changing a program, generate a new report and choose it explicitly. See visual training reports for the controls, capture limits, and standalone browser workflow.
Colors and editing
Choose Preferences: Color Theme to switch between light and dark themes. Aner uses the active theme's syntax colors for keywords, types, functions, strings, numbers, and comments.
The extension supports line comments, matching brackets, automatic closing pairs, and snippets. Use Insert Snippet or type a snippet prefix such as fn, let, class, importdataset, or nnsequential, then select a suggestion. Syntax highlighting is available for source files and notebook code cells.
Collection snippets and signature help
The Aner extension provides list, dictionary, set, collections, and listsort snippets with valid mixed value examples. Use Insert Snippet, or type a prefix and invoke Trigger Suggest. The listsort snippet demonstrates stable ascending numeric and String sorting. The sort() signature includes its compatible type rules, O(n log n) comparison count, and O(n) auxiliary space. These built in types need no import. Run the collection example or notebook, and read the separate Dictionary, List, and Set references for API and time/space complexity.
When entering a built in call, signature help shows its parameter labels, return type, time complexity, auxiliary/result space, and important rules such as index bounds or supported key types. It appears after (, ,, or :, or use Trigger Parameter Hints (usually Ctrl+Shift+Space; Cmd+Shift+Space on macOS). Collection receiver recognition includes constructor bindings, explicit annotations, parameters, checked cast<List/Dictionary/Set> expressions, copies, and supported method chains. Unknown or custom same named methods do not receive guessed native collection signatures. This helper is not a language server or a substitute for aner check.
Rebuild or install the compatible native interpreter as well as updating the VSIX. An older binary cannot execute new collection APIs. After replacing the executable, restart existing notebook sessions before using them.
Neural and development helpers
The Aner extension includes devcapture and devenabled for named observations and guarded diagnostic work, nndenseweights for custom finite Dense weights/biases, mlsave/mlload for fitted checkpoints, and mlwarmstart for continued training. Import aner.dev, aner.nn, or aner.ml as appropriate. The snippets use real Aner APIs and are checked against the native interpreter.
Signature help covers the custom Dense overload, pre fit network/pipeline summaries, optional loss/SGD optimizer configuration, detached fitted weight/bias extraction, checkpoint save/load, warm starts, and development capture contracts. Checkpoints require a new file; loading validates the saved architecture, fitted parameters, scaler, schema, and bounds. See the runnable model state example and API/complexity documentation. Update the native executable as well as the extension before using these APIs.
Aner snippets and AI suggestions
Inline AI suggestions may guess another language's syntax. For example, def, @head, nil, and end are Ruby syntax, not Aner. Keeping AI previews enabled does not make those suggestions type checked. Dismiss an unrelated preview with Escape and select an Aner snippet instead.
In an empty .aner file, type linkedlist, then invoke Trigger Suggest and choose Basic linked list. Alternatively, run Insert Snippet from the Command Palette and choose Basic linked list. It inserts a runnable Node and LinkedList example with prepend, append, and len. Tab moves between the Node and LinkedList name placeholders. The smaller nullablefield, newnode, and traverselist snippets cover fields, construction, and traversal; existing class, method, setter, and unwrap templates remain available.
The project puts Aner snippets at the top of the suggestion list without changing inline AI settings. These templates use fn, braces, typed links, null, named constructor arguments, and direct access after null checks. Check saved code with aner check FILE.aner. See the basic linked list example and Aner's object model. The templates are checked by running expanded snippets with the native interpreter. The Aner extension supports guarded traversal and includes mixedlist, which creates a single list holding different value types without generics; anyfield, typeof, and cast support dynamic data fields and checked retrieval. Rebuild the native interpreter too; updating the extension does not add Any or null check narrowing to an older executable.
When asking an AI assistant for Aner code, provide a valid .aner example and the language reference as context, and explicitly request Aner syntax. This helps supply context but cannot guarantee valid generated code.
The current extension provides read only variables and training inspection after completed development cells. A language server, streaming training charts, and pause/step debugger remain future work. Program output, dataset/model summaries, and separately recorded training reports remain available alongside the Dev Inspector.
Troubleshooting
| What you see | What to do |
|---|---|
| A notebook opens as JSON | Confirm the Aner extension is installed. Run Developer: Reload Window, then Reopen Editor With… → Aner Notebook on the .anernb tab. |
aner is not found | Follow the installation guide's PATH setup, restart VS Code, or set the full installed executable path in Aner: Notebook Executable. |
| The terminal works but notebook execution cannot find Aner | VS Code may have a different environment. Set aner.notebook.executable to the absolute installed binary path. |
| A variable from another cell is unknown | Select Aner: Use Shared Variables, then rerun the defining cells. Also check whether Stop, an execution error, or a restart cleared state. |
| A class or function is already defined | Run Aner: Restart Notebook Session, then Run All from the beginning. |
| An example cannot find its CSV file | Open the folder containing examples/, or adjust the path relative to your current project folder. |
| The extension asks for a newer native binary | Install the compatible binary recommended by the release; updating only the VSIX does not update Aner itself. |
| Saved output looks inconsistent with the edited code | Restart and run the cells in order. Development views mark source edits stale; ordinary saved text and changed external data are not automatically dependency tracked. |
| Dev, Prod, or Inspector is missing | Install a compatible Aner extension, reload VS Code, and open an Aner notebook; update the native executable too. |
| Inspector has no current variables | Select Dev and rerun setup. Restart, Stop, timeout, runtime failure, or switching modes clears live state. |
| Open training report is missing | Install a compatible Aner extension, run Developer: Reload Window, and activate an Aner notebook. |
| A selected training report cannot be opened | Keep its index.html and trace.json together, then use Aner: Choose Training Report to select the report again. |
| A training report shows older results | Generate a fresh report in a new directory and choose it. Opening a report does not rerun training or match its source to the notebook. |
The extension runs with VS Code's own runtime and the installed native Aner executable.
Typed array help
The Aner extension includes Array<T> and DynamicArray<T> snippets with required dtypes and explicit size/capacity. Signature help restricts methods to the actual dtype/family and documents sorting, automatic sorted search, numerical operations, growth, and time/space costs. In notebook Dev mode, Inspector displays array dtype, logical length, reserved capacity, sorted status, and bounded element previews. See Array, DynamicArray, and the array notebook.
Multidimensional array help
The Aner extension includes NDArray syntax, verified matrix/broadcast snippets, typed signatures, and method time/space complexity. Inspector shows shape, element strides, row major previews, and matching storage IDs for shared fixed reshapes. It distinguishes these from one dimensional binary/linear search information. See the multidimensional reference and notebook.
Neural training and hardware help
The Aner extension includes signatures for Adam, seeded/Xavier/He Dense initialization, fixed epoch progress, measured training duration, native CPU/CUDA Float64 or Float32, Metal/MPS Float32, preserve/adapt/fast execution profiles, synchronization, and backend capability queries. Helpers explain defaults, time/space complexity, checkpoint continuation, and unsupported device errors. Inspector shows the resolved execution profile, including requested and effective precision, policy, computation/accumulation precision, and reason. Tensor previews show actual Float64/Float32 precision, CPU/MPS/CUDA placement, and native provider; completed training observations show elapsed/estimated remaining time and omitted events. Verified nnprofile, nncuda64, and nnpolicy snippets add portable execution configuration, strict Float64 CUDA parameters, and per classifier precision policy. Existing nngpu, nndtype, and nnsync cover explicit Float32 placement, detached conversion, and device observation. Helpers explain CPU Float64 fallback for a preserve request on Metal/MPS and intentional Float32 selection without promising speedup. Inline AI previews stay enabled. See Tensor devices and performance. Use the neural workflow, complete research source, and research notebook. Run Developer: Reload Window after installing the updated extension.
Audited mini batches and larger notebook cells
The Aner extension recognizes DatasetPartition, DatasetFolds, DatasetBatches, TrainingConfig, and Optimizer. Hints cover protected roles, stratified/group aware partitions, fold audits, lazy batches, Xavier MLP construction, keyed Adam/SGD updates, and fixed epoch training with validation and optional best epoch selection. Variables declared by for batch in data.batches(...) receive Dataset hints within that loop. Use datasetpartition, datasetgroups, datasetbatches, nnminibatch, and nnoptimizer for verified templates. Dataset partitions and neural workflows define correctness and Big O bounds.
The Inspector charts measured online training loss, held out validation loss, and validation accuracy when those observations are supplied. The table retains the phase, cumulative update count, actual batch size, elapsed time, and device. Manual observations without counts display unknown rather than inventing a count. Observations appear after the cell completes.
For a longer training cell, change aner.notebook.timeoutMs before execution:
{
"aner.notebook.timeoutMs": 600000
}The default is 120,000 milliseconds. The resource setting accepts integers from 1 through 86,400,000 and applies to subsequent cells in either execution mode. Changing it retains current shared variables; an active request keeps its original deadline. An actual timeout terminates that notebook's native process and clears variables. Rerun setup after a timeout. The timeout is an execution bound, not a training completion estimate.
Native parallel computing help
The Aner extension recognizes ParallelContext, SimulationResults and aner.parallel. Typing parallel. offers generic execution policies, resource inventory, repetition and result operations. A known SimulationResults receiver offers ordered value access, statistics and execution summaries. Shadowed names and unknown custom receivers do not receive guessed native methods. Signature help retains each actual overload, its named arguments, CPU allocation rules and time/space complexity.
Use importparallel, parallelrepeat and parallellocal for checked local CPU templates. The task algorithm stays in Aner source; its execution context selects admitted worker concurrency. Native parallel computing documents source, terminal jobs, private worker configuration and current limits. mlreplicafit, nnexecutioncontext and datasetsynthetic add verified protected Dataset Dense training, strict replica placement and bounded source generation. nn.execution_context and explicit context ml.fit/pipeline .fit overloads show exact required/optional labels, precision and time/space bounds. Random sampling help belongs to aner.random, including addressed Philox distributions and explicit generator handles. Fixed π APIs and their specialized result type are absent from the parallel module. The fitted result retains existing evaluation/checkpoint hints. Distributed neural training distinguishes CPU canonical updates from actual replica forward/backward work. Direct GPU collectives and model sharding remain planned. Existing inline AI previews stay enabled.
Language model and credential helpers
The current extension recognizes aner.llm, aner.secrets, LLMClient, LLMMessage, LLMResponse, and SecretRef. Typing llm. or secrets. offers exact native members. A receiver with an inferred LLMClient type offers generate, chat, provider, and model; an LLMResponse offers text, model, finish_reason, input_tokens, output_tokens, total_tokens, cached_input_tokens, cache_write_input_tokens and reasoning_tokens. Helpers retain overloads and named arguments, document provider neutral controls and request bounds, and distinguish Aner client complexity from remote inference. Unknown or shadowed receivers are not assigned guessed native methods.
Verified snippets include llmlocal, llmchat, llmcloud, llmopenrouter, llmanthropic, llmgemini, llmvllm, llmclass, and secretref. Inline AI previews remain enabled. Credential snippets insert a reference label or environment variable name, never a key literal. Configure keys in an interactive terminal through aner secrets set NAME; a notebook output or text field is not a credential prompt. Anthropic and Gemini use native provider adapters with explicit private credential references. OpenRouter uses an explicit model slug and secrets.stored("openrouter"); the native interpreter must also support this provider. See Language model connections, Credentials, and the local request notebook.
LLM handles are opaque during development inspection. Explicit prompt Strings and text read through answer.text() retain ordinary String visibility and may appear when printed or captured. The same source and configured provider execute in development and production; observation does not change inference settings. Update the native executable and the extension together, then reload the editor window.
Native model API helpers
The Aner extension recognizes aner.api and the opaque APIApp type. Typing api. offers exact native app, model, language model, bind, authentication, TLS, limits, rate limit, OpenAPI and foreground serving methods. An inferred APIApp receiver offers immutable builders with the receiver parameter omitted. Helpers explain loopback defaults, the external TLS and bearer requirement, fixed input schemas, bounded transport, and inference deadlines that cannot forcibly preempt CPU or GPU computation.
Verified snippets are apilocal, apicheckpoint, apiauth, apitls, and apillm. They retain credential references and load models before serving. Prepare the checkpoint and certificate files before running examples that require them. aner check validates source without opening a listener. Run the API in a standalone program; serve blocks a notebook interpreter cell until stopped. Inline AI previews remain enabled. See Model inference APIs for request contracts, authentication, deployment, and complexity.
String and type inspection helpers
The Aner extension includes built in String methods and explicit scalar conversion, plus type, type_of, and dtype. Typing a dot after a String literal, a typed String binding, a supported String producing call, or a checked String cast offers native methods. Signature help documents Unicode scalar indices, half open slices, nonoverlapping literal search, default Unicode casing, validation, limits, and time/space complexity. Unknown or Any receivers do not receive guessed text methods.
Verified snippets are stringbasic, stringsplit, stringunicode, and typeinspect. They require no import. Mixed collection retrieval is cast explicitly before text methods. dtype describes homogeneous storage and returns Any for core heterogeneous containers; it never infers the first element's type. Inline AI previews remain enabled. Read String, Type inspection, and the complete text example. Use the compatible native interpreter; updating the extension alone does not add methods to an older engine.
Native temporal, binary, and outcome values
The Aner extension provides constructor and method signatures with checked bounds and time/space complexity for Date, Time, DateTime, Duration, Bytes, Range, Optional, and Result<T, E>. Static factories and typed member completion require no import. Generic outcome helpers preserve explicitly declared payload types, including nested types and checked casts from Any. Range iteration binds Int64 values without allocating an element buffer.
Use the datebasic, timebasic, datetimebasic, durationbasic, bytesbasic, rangebasic, optionalbasic, and resultbasic snippets. Read the separate Date, Time, DateTime, Duration, Bytes, Range, Optional, and Result references for exact ownership, parsing, and failure contracts. Reload the editor after installing the new VSIX, and update the native executable together with its helpers.
Native contextual scientific values
The Aner extension mirrors the native contextual registry for AdaptiveFrame, FramePartition, FeatureLedger, ContextBatch, ContextLinearModel, ContextPrediction, SemanticTensor, EvidenceTensor and acknowledged ContextExport. Typed receivers and supported constructors provide the exact named arguments, input/result types, scientific contracts and time/space costs. The helper distinguishes training only fitted preprocessing, exact coordinate alignment, explicit context erasure and source aware affine evidence. Unknown or Any receivers do not receive guessed scientific methods.
The verified snippets use complete deterministic data and actual native APIs. The full examples are building energy, station coordinates and shared calibration. Use each matching reference for dependencies, backends and limits; ordinary Tensor accelerator support does not imply GPU evidence support.
Checked simulation repetition support
The Aner extension provides parallel.repeat argument help, the checked directly named task contract, stateless random.uniform/random.normal, and inferred SimulationResults methods. Optional execution, seed and result budget settings may be supplied independently by name; variance and standard deviation support named sample: true with default column zero. The parallelrepeat snippet is a complete isolated numeric task. Function names remain unsupported as general source values or closures, and native task effect/capture checks remain authoritative.
Use an updated native executable together with this VSIX; changing the editor alone does not add runtime support. Read the repetition API for allowed task operations, exact row/seed ordering, resource limits, statistics, CSV effects and SPE examples.
Unit and bounded data helpers
The current editor includes checked scalar Quantity/Point types, packed unit arrays, declared CSV unit columns and DataExecution controls. Signature help supplies the exact named arguments, compatible physical kinds and typed result units supported by the matching native engine. Use the compatible native runtime for execution.
Read scalar units, unit arrays, CSV unit columns and bounded data execution for complete examples, missing data rules, interval statistics, validation receipts and cooperative cancellation. Match extension 0.1.48 with native Aner 0.0.5; editor help cannot add unsupported native calls.
Model and technique parameter help
The updated local extension provides model specific signature help and hover documentation for KNN, K means, decision trees, Dense models, SGD/Adam, CNNs, recurrent networks and native generative models. It explains each argument's required/default status, accepted range, shape, effect and retained state. The help distinguishes overloads by model type; a CNN dropout call and a Tensor dropout call do not have the same arguments.
Import aner.ml and enter ml.fit_knn( to inspect features, labels and k. After binding a KNNClassifier, use receiver calls such as model.predict_proba(input: queries) or model.neighbor_distances(input: queries); the help retains the original class column and training row meaning. Hover and signature help work with known native receiver types and named arguments. Unknown or ambiguous expressions are not assigned an invented model type.
Use the model directory and complete model parameter index for the full reference. Use the reviewed 0.1.48 web VSIX for this richer help. Updating editor support does not update the native executable.
NLP development help
Extension 0.1.48 supports aner.nlp document corpora, fitted sparse features, BM25 evidence, exact context budgets and TokenBatch provenance. Typed completions distinguish those owners and keep the neural FFN/pooling methods in aner.nn. Use nlpclassify, nlpmemory and nlpencoder for complete local examples; use the matching Aner 0.0.5 runtime. Editor installation is separate from the native runtime; check Downloads for the published packages.
POS and NER support for Aner 0.0.5
Extension 0.1.48 includes typed source aligned token, annotation, contextual tagger, prediction and evaluation help for aner.nlp. Use nlppos and nlpner for complete synthetic examples with held out metrics and exact save/load/resume checks. The API requires Aner 0.0.5 or newer. Install the web VSIX and native runtime separately; Marketplace availability follows its separate publisher upload.
Unreleased NLP execution development
The development source adds CPU/GPU numerical placement, admitted CPU/tagger cluster execution help and execution_summary() inspection for the matching unreleased NLP runtime. Published Aner 0.0.5 and the 0.1.48 web VSIX keep their released behavior; the new overloads are not supplied by those artifacts. Read NLP execution before selecting a context. This source update performs no website or Marketplace publication.