Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 395 for editor (0.33 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

            Editor editor = new Editor(pomDocument);
            Element root = editor.root();
            if (root == null) {
                return;
            }
    
            Element modelVersionElement = root.child(MODEL_VERSION).orElse(null);
            if (modelVersionElement != null) {
                editor.setTextContent(modelVersionElement, newVersion);
            } else {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  2. docs/en/docs/features.md

    You will rarely need to come back to the docs.
    
    Here's how your editor might help you:
    
    * in [Visual Studio Code](https://code.visualstudio.com/):
    
    ![editor support](https://fastapi.tiangolo.com/img/vscode-completion.png)
    
    * in [PyCharm](https://www.jetbrains.com/pycharm/):
    
    ![editor support](https://fastapi.tiangolo.com/img/pycharm-completion.png)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  3. docs/en/docs/python-types.md

    By doing that, your editor can provide support even while processing items from the list:
    
    <img src="/img/python-types/image05.png">
    
    Without types, that's almost impossible to achieve.
    
    Notice that the variable `item` is one of the elements in the list `items`.
    
    And still, the editor knows it is a `str`, and provides support for that.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

        var editor: DiskLruCache.Editor? = null
        try {
          editor = snapshot.edit() ?: return // edit() returns null if snapshot is not current.
          entry.writeTo(editor)
          editor.commit()
        } catch (_: IOException) {
          abortQuietly(editor)
        }
      }
    
      private fun abortQuietly(editor: DiskLruCache.Editor?) {
        // Give up because the cache cannot be written.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  5. .github/ISSUE_TEMPLATE/03-gopls.yml

        id: expected-behavior
        attributes:
          label: "What did you expect to see?"
        validations:
          required: true
      - type: textarea
        id: editor-and-settings
        attributes:
          label: "Editor and settings"
          description: "Your editor and any settings you have configured (for example, your VSCode settings.json file)"
        validations:
          required: false
      - type: textarea
        id: logs
        attributes:
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri May 24 17:09:04 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java

     *
     * <p>Strategies work with domtrip Documents for perfect formatting preservation.
     * Individual strategies can create domtrip Editors from Documents as needed:
     * <pre>
     * Editor editor = new Editor(document);
     * // ... perform domtrip operations ...
     * // Document is automatically updated
     * </pre>
     */
    public interface UpgradeStrategy {
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/body-nested-models.md

    ```
    
    as in:
    
    {* ../../docs_src/body_nested_models/tutorial008_py310.py hl[13] *}
    
    ## Editor support everywhere { #editor-support-everywhere }
    
    And you get editor support everywhere.
    
    Even for items inside of lists:
    
    <img src="/img/tutorial/body-nested-models/image01.png">
    
    You couldn't get this kind of editor support if you were working directly with `dict` instead of Pydantic models.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PomBuilder.java

            return xml.toString();
        }
    
        public Document buildDocument() {
            try {
                String xmlContent = build();
                Editor editor = new Editor(Document.of(xmlContent));
                return editor.document();
            } catch (Exception e) {
                throw new RuntimeException("Failed to build POM document", e);
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/response-model.md

    /// tip
    
    If you have strict type checks in your editor, mypy, etc, you can declare the function return type as `Any`.
    
    That way you tell the editor that you are intentionally returning anything. But FastAPI will still do the data documentation, validation, filtering, etc. with the `response_model`.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.5K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

     * and reduces code duplication across strategy implementations.
     *
     * <p>Strategies work with domtrip Documents for perfect formatting preservation.
     * Subclasses can create domtrip Editors from Documents as needed:
     * <pre>
     * Editor editor = new Editor(document);
     * // ... perform domtrip operations ...
     * // Document is automatically updated
     * </pre>
     */
    public abstract class AbstractUpgradeStrategy implements UpgradeStrategy {
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.1K bytes
    - Click Count (0)
Back to Top