推荐IDE中实用AI编程插件,目前无限次使用

插件介绍

一款字节跳动推出的**"基于豆包大模型的智能开发工具"**

以vscode介绍【pycharm等都可以啊】,这个插件提供智能补全、智能预测、智能问答等能力,节省开发时间

直接在IDE中使用,就不用在网页中来回切换了

感觉还可以,响应速度挺快的,准确率也是挺高的,目前要注册/登入后是免费使用的

地址:****https://www.marscode.cn/events/s/iSLV1gb6/

插件案例

我啊用它试着完善了我的博客网站布局,感觉还是挺不错的

写点简单的页面也是不错的,修修改改就可以直接拿来使用了

html 复制代码
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Login/Register</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #fffbe8;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
        }
        .container {
            background-color: #fff3cd;
            padding: 20px;
            border: 1px solid #ffeeba;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            width: 300px;
            text-align: center;
        }
        .container h2 {
            margin: 0 0 15px;
            color: #856404;
        }
        .input-group {
            margin-bottom: 15px;
        }
        .input-group label {
            display: block;
            margin-bottom: 5px;
            color: #856404;
        }
        .input-group input {
            width: 100%;
            padding: 8px;
            border: 1px solid #ffeeba;
            border-radius: 5px;
            box-sizing: border-box;
        }
        .button {
            background-color: #ffc107;
            color: white;
            padding: 10px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            width: 100%;
            margin-top: 10px;
        }
        .button:hover {
            background-color: #e0a800;
        }
        .toggle {
            margin-top: 15px;
            color: #856404;
            cursor: pointer;
            text-decoration: underline;
        }
    </style>
</head>
<body>

<div class="container">
    <h2 id="form-title">Login</h2>
    <div id="login-form" class="form">
        <div class="input-group">
            <label for="login-username">Username</label>
            <input type="text" id="login-username" name="username" required>
        </div>
        <div class="input-group">
            <label for="login-password">Password</label>
            <input type="password" id="login-password" name="password" required>
        </div>
        <button class="button" onclick="login()">Login</button>
    </div>
    <div id="register-form" class="form" style="display: none;">
        <div class="input-group">
            <label for="register-username">Username</label>
            <input type="text" id="register-username" name="username" required>
        </div>
        <div class="input-group">
            <label for="register-password">Password</label>
            <input type="password" id="register-password" name="password" required>
        </div>
        <div class="input-group">
            <label for="register-email">Email</label>
            <input type="email" id="register-email" name="email" required>
        </div>
        <button class="button" onclick="register()">Register</button>
    </div>
    <div class="toggle" onclick="toggleForm()">Don't have an account? Register</div>
</div>

<script>
    function toggleForm() {
        const loginForm = document.getElementById('login-form');
        const registerForm = document.getElementById('register-form');
        const formTitle = document.getElementById('form-title');
        const toggleText = document.querySelector('.toggle');

        if (loginForm.style.display === 'none') {
            loginForm.style.display = 'block';
            registerForm.style.display = 'none';
            formTitle.textContent = 'Login';
            toggleText.textContent = "Don't have an account? Register";
        } else {
            loginForm.style.display = 'none';
            registerForm.style.display = 'block';
            formTitle.textContent = 'Register';
            toggleText.textContent = "Already have an account? Login";
        }
    }

    function login() {
        // 在这里添加登录逻辑
        alert('Login function not implemented.');
    }

    function register() {
        // 在这里添加注册逻辑
        alert('Register function not implemented.');
    }
</script>

</body>
</html>
相关推荐
三水写代码6 小时前
手写一个 Claude Code(1):从 Agent Loop 到工具、权限、Hooks 与任务规划
python·ai编程·claude·ai agent·claudecode
AI砖家7 小时前
Claude Code Skill 质量检查实战:用 /skill-doctor + Plugin Evals 找出“看似能用、实际没被调用“的问题
人工智能·ai编程·claude·codex·skill
anda01098 小时前
A2UI 协议: AI 直接画界面,而不是只会打字
人工智能·ai编程
用户21578283966338 小时前
AI 写了 7300 行 MoonBit:编译器能验的,和验不了的
ai编程
正在走向自律9 小时前
从只写接口到独立交付前后端,飞算JavaAI能给Java后端工程师多少溢价?
java·springboot·ai编程·全栈开发·java求职·飞算javaai·金九银十
全栈弄潮儿10 小时前
3 个能立刻复用的 AI 编程工作流
aigc·openai·ai编程
桃西西呀14 小时前
Laya 源码级原理拆解之二:序列打包与决策头
人工智能·llm·ai编程
盟接之桥14 小时前
线束数字化--先进先出为什么总是停留在纸面上?
大数据·网络·数据库·人工智能·制造·ai编程
Yunovian15 小时前
AI时代,针对模型与应用,浅谈一下各编程语言
开发语言·c++·人工智能·python·ai·rust·ai编程