@@ -4,7 +4,7 @@ import { mdiClose } from '@mdi/js'
4
4
import { VisuallyHidden } from '@reach/visually-hidden'
5
5
import classNames from 'classnames'
6
6
7
- import { Button , H3 , Icon , Input , Link , Select , Text , Form } from '@sourcegraph/wildcard'
7
+ import { Button , H3 , Icon , Input , Link , Select , Text , Form , Code } from '@sourcegraph/wildcard'
8
8
9
9
import { isProjectPathValid } from './build-url'
10
10
import type { EditorSettings } from './editor-settings'
@@ -75,15 +75,15 @@ export const OpenInEditorPopover: React.FunctionComponent<
75
75
< >
76
76
< H3 > Set your preferred editor</ H3 >
77
77
< Text >
78
- Open this and other files directly in your editor. Set your project path and editor to get started.
79
- Update anytime in your user settings.
78
+ Open this and other files directly in your editor. Set your path and editor to get started. Update
79
+ any time in your user settings.
80
80
</ Text >
81
81
82
82
< Form onSubmit = { onSubmit } noValidate = { true } >
83
83
< Input
84
84
id = "OpenInEditorForm-projectPath"
85
85
type = "text"
86
- label = "Project path"
86
+ label = "Default projects path"
87
87
name = "projectPath"
88
88
placeholder = "/Users/username/projects"
89
89
required = { true }
@@ -95,6 +95,11 @@ export const OpenInEditorPopover: React.FunctionComponent<
95
95
onChange = { onProjectPathChange }
96
96
className = { classNames ( 'mr-sm-2' ) }
97
97
/>
98
+ < aside className = "small text-muted" >
99
+ The directory that contains your repository checkouts. For example, if this repository is
100
+ checked out to < Code > /Users/username/projects/cody</ Code > , then set your default projects path
101
+ to < Code > /Users/username/projects</ Code > .
102
+ </ aside >
98
103
< Select
99
104
id = "OpenInEditorForm-editor"
100
105
label = "Editor"
0 commit comments