Basic Configuration 
The detailed parameter configuration for codeInspectorPlugin is shown below:
typescript
import { codeInspectorPlugin } from 'code-inspector-plugin';
codeInspectorPlugin({
  bundler: 'vite',
  editor: 'cursor',
  // See below for other properties...
});bundler 
- Required
- Type: string
- Available values: vite / webpack / rspack / esbuild
- Description: Specifies the bundler tool used in the current project
editor 
- Optional
- Type: string
- Available values: code / cursor / webstorm / appcode / atom / atom-beta / brackets / code-insiders / codium / colin / emacs / goland / hbuilder / idea / notepad / phpstorm / pycharm / rider / rubymine / sublime / vim / zed
- Description: By default, code-inspector-pluginautomatically detects and opens your IDE based on the running processes in your system. When multiple IDEs are running simultaneously, the IDE opened bycode-inspector-pluginmight not be the one you want. In this case, you can specify which IDE to open by setting theeditorparameter. For more details, refer to the IDE section
dev 0.5.0+ 
- Optional
- Type: boolean | (() => boolean)
- Description: code-inspector-pluginautomatically determines the current environment based on bundler information and only works in thedevelopmentenvironment. In some cases, such as older versions ofwebpackor custom environment variables, thedevelopmentenvironment detection might fail, causingcode-inspector-pluginto not work. In such cases, you can manually add logic to determine if it's adevelopmentenvironment by setting thedevparameter to makecode-inspector-pluginwork.
enforcePre 0.4.0+ 
- Optional. Default value is true
- Type: boolean
- Description: Whether to add enforce: 'pre'configuration forcode-inspector-plugin. Some projects (especially those created byvue-cli) have built-ineslint-loader. Ifcode-inspector-plugin's compilation logic runs beforeeslint-loader's validation logic, it might causeeslint-loaderto throw errors. In this case, set this option tofalseto makecode-inspector-plugin's compilation logic run aftereslint-loader's validation logic.
hotKeys 
- Optional. Default value is ['altKey', 'shiftKey']
- Type: ('ctrlKey' | 'altKey' | 'metaKey' | 'shiftKey')[]
- Description: Keyboard shortcuts to trigger the source code location feature. An empty array will disable the shortcut trigger feature. (ctrlKeycorresponds to thecontrolkey on Mac;altKeycorresponds to theoptionkey on Mac;metaKeycorresponds to thecommandkey on Mac)
showSwitch 
- Optional. Default value is false
- Type: boolean
- Description: Whether to display a switch on the page to enable and disable the source code location feature. When using on mobile devices, keyboard shortcuts might not be convenient, so it's recommended to use this switch to enable and disable the source code location feature.
autoToggle 
- Optional. Default value is true
- Type: boolean
- Description: Used with showSwitch: true. After triggering the IDE jump feature, it automatically turns off theswitchfunctionality. (This is mainly to prevent accidental triggering of the source code location feature when users switch back to the page and it gains focus.)